Author: AlbrechtS
Date: 2010-03-05 10:53:00 -0800 (Fri, 05 Mar 2010)
New Revision: 7219
Log:
removed some compiler warnings (gcc 4+)
Modified:
branches/branch-1.3/src/Fl_File_Chooser2.cxx
Modified: branches/branch-1.3/src/Fl_File_Chooser2.cxx
===================================================================
--- branches/branch-1.3/src/Fl_File_Chooser2.cxx 2010-03-05 13:03:10 UTC
(rev 7218)
+++ branches/branch-1.3/src/Fl_File_Chooser2.cxx 2010-03-05 18:53:00 UTC
(rev 7219)
@@ -861,7 +861,7 @@
}
} else {
// File doesn't exist, so beep at and alert the user...
- fl_alert(existing_file_label);
+ fl_alert("%s",existing_file_label);
}
}
else if (Fl::event_key() != FL_Delete &&
@@ -1049,7 +1049,7 @@
// Get a directory name from the user
- if ((dir = fl_input(new_directory_label, NULL)) == NULL)
+ if ((dir = fl_input("%s", NULL, new_directory_label)) == NULL)
return;
// Make it relative to the current directory as needed...
@@ -1216,7 +1216,7 @@
item = showChoice->text(showChoice->value());
if (strcmp(item, custom_filter_label) == 0) {
- if ((item = fl_input(custom_filter_label, pattern_)) != NULL) {
+ if ((item = fl_input("%s", pattern_, custom_filter_label)) != NULL) {
strlcpy(pattern_, item, sizeof(pattern_));
quote_pathname(temp, item, sizeof(temp));
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit