/[xforms]/xforms/lib/goodie_salert.c
ViewVC logotype

Diff of /xforms/lib/goodie_salert.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by leeming, Thu Apr 10 20:46:37 2003 UTC revision 1.3 by leeming, Tue Apr 15 19:14:16 2003 UTC
# Line 32  Line 32 
32   */   */
33    
34  #include "forms.h"  #include "forms.h"
35    #include "flinternal.h"
36    #include "local.h"
37    
38  /****************** Alert dialog ********************{**/  /****************** Alert dialog ********************{**/
39  typedef struct  typedef struct
# Line 100  fl_show_stacked_alert(const char *title, Line 102  fl_show_stacked_alert(const char *title,
102      fl_handle_goodie_font(fd_alert->but, fd_alert->str);      fl_handle_goodie_font(fd_alert->but, fd_alert->str);
103    
104      fl_set_object_label(fd_alert->title, title);      fl_set_object_label(fd_alert->title, title);
105      snprintf(buf,sizeof(buf),"%s\n%s",(str1?str1:"",(str2?str2 : ""));      snprintf(buf,sizeof(buf),"%s\n%s",(str1?str1:""),(str2?str2 : ""));
106      fl_set_object_label(fd_alert->str, buf);      fl_set_object_label(fd_alert->str, buf);
107    
108      fl_deactivate_all_forms();      fl_deactivate_all_forms();

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26