24 Apr
2004
24 Apr
'04
1:31 p.m.
"Francois Gouget" <fgouget(a)free.fr> wrote:
-static char defaultopen[]="Open File"; -static char defaultsave[]="Save as";
/*********************************************************************** * FileDlg_Init [internal] @@ -970,9 +968,13 @@ if (ofnA->lpstrTitle) str = ofnA->lpstrTitle; else + { /* Allocates default title (FIXME : get it from resource) */ + static const char* defaultopen="Open File"; + static const char* defaultsave="Save as";
Don't you really want to leave it as a static const array of characters as before and not a static const pointer? Same for your next patch. -- Dmitry.
7908
Age (days ago)
7908
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov