From 8ed93f0065ab560c8b4b5a7a1924506eeda5e06e Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 5 Apr 2012 14:30:19 +0000 Subject: fix a typo and indenting. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Chooser2.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Fl_File_Chooser2.cxx') diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx index 7abc48bc0..de519ee5b 100644 --- a/src/Fl_File_Chooser2.cxx +++ b/src/Fl_File_Chooser2.cxx @@ -951,16 +951,16 @@ Fl_File_Chooser::fileNameCB() } else if (max_match > min_match && first_line) { // Add the matching portion... fileName->replace( - (int) (filename - pathname), - (int) (filename - pathname + min_match), - matchname); + (int) (filename - pathname), + (int) (filename - pathname + min_match), + matchname); // Highlight it with the cursor at the end of the selection so // s/he can press the right arrow to accept the selection // (Tab and End also do this for both cases.) fileName->position( - (int) (filename - pathname + max_match), - (int) (filename - pathname + min_match)); + (int) (filename - pathname + max_match), + (int) (filename - pathname + min_match)); } else if (max_match == 0) { fileList->deselect(0); fileList->redraw(); -- cgit v1.2.3