From 70c4cd102f437a1379a66b036cd0f26837d003ea Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 14 Apr 2005 13:56:07 +0000 Subject: Fix compiler warnings. Use fl_yes and fl_no for the Forms emulation, instead of the hardcoded strings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/forms.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/forms.H') diff --git a/FL/forms.H b/FL/forms.H index 46409772a..672b9c813 100644 --- a/FL/forms.H +++ b/FL/forms.H @@ -645,7 +645,7 @@ fl_add_free(int t,double x,double y,double w,double h,const char* l, #include "fl_ask.H" #include "fl_show_colormap.H" -inline int fl_show_question(const char* c, int = 0) {return fl_choice(c,"No","Yes",0L);} +inline int fl_show_question(const char* c, int = 0) {return fl_choice("%s",fl_no,fl_yes,0L,c);} FL_EXPORT void fl_show_message(const char *,const char *,const char *); FL_EXPORT void fl_show_alert(const char *,const char *,const char *,int=0); FL_EXPORT int fl_show_question(const char *,const char *,const char *); -- cgit v1.2.3