diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-14 13:56:07 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-14 13:56:07 +0000 |
| commit | 70c4cd102f437a1379a66b036cd0f26837d003ea (patch) | |
| tree | f700115eb2cd5a895d8be710b5ed16a80185c601 /FL | |
| parent | 217f77c9ef015684b08f77b2d129155c76414f9e (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/forms.H | 2 |
1 files changed, 1 insertions, 1 deletions
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 *); |
