From e72630762df5d3dfb34bf0866b7d908c93108bff Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 11 Apr 2005 07:35:33 +0000 Subject: Remove all warnings for Mac buidl with gcc (except one) - some warnings about using char for indexing - some warnings about using signed int in strncmp - some warnings about deprecated fl_ask (replaced with fl_choice) The on warning not removed is the strftime("%c") in fluid since I don't know anything about PS and I don't know if a different data format would break PS. Mike? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/forms_compatability.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/forms_compatability.cxx') diff --git a/src/forms_compatability.cxx b/src/forms_compatability.cxx index 01bcb2eb7..7642860da 100755 --- a/src/forms_compatability.cxx +++ b/src/forms_compatability.cxx @@ -185,7 +185,7 @@ void fl_show_alert(const char *q1,const char *q2,const char *q3,int) { } int fl_show_question(const char *q1,const char *q2,const char *q3) { - return fl_ask("%s\n%s\n%s", q1?q1:"", q2?q2:"", q3?q3:""); + return fl_choice("%s\n%s\n%s", "No", "Yes", 0L, q1?q1:"", q2?q2:"", q3?q3:""); } int fl_show_choice( -- cgit v1.2.3