diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-04-05 14:30:19 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-04-05 14:30:19 +0000 |
| commit | 8ed93f0065ab560c8b4b5a7a1924506eeda5e06e (patch) | |
| tree | ebb2ea88e41627af0e9e22fc5b546aa312fed1f4 /src/Fl_File_Chooser2.cxx | |
| parent | 8809c5d65dd20895dcae90e9d2af05fd271f2e9e (diff) | |
fix a typo and indenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser2.cxx')
| -rw-r--r-- | src/Fl_File_Chooser2.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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(); |
