ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/BeOS/prefs_editor_beos.cpp
(Generate patch)

Comparing BasiliskII/src/BeOS/prefs_editor_beos.cpp (file contents):
Revision 1.9 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.10 by cebix, 2001-05-26T12:31:00Z

# Line 33 | Line 33
33   #include "cdrom.h"
34   #include "xpram.h"
35   #include "prefs.h"
36 < #include "version.h"
36 > #include "about_window.h"
37   #include "user_strings.h"
38   #include "prefs_editor.h"
39  
# Line 767 | Line 767 | void PrefsWindow::MessageReceived(BMessa
767                          break;
768  
769                  case B_ABOUT_REQUESTED: {       // "About" menu item selected
770 <                        char str[256];
771 <                        sprintf(str, GetString(STR_ABOUT_TEXT1), VERSION_MAJOR, VERSION_MINOR);
772 <                        strcat(str, " ");
773 <                        strcat(str, GetString(STR_ABOUT_TEXT2));
774 <                        BAlert *about = new BAlert(GetString(STR_WINDOW_TITLE), str, GetString(STR_OK_BUTTON));
775 <                        about->Go();
770 >                        ShowAboutWindow();
771                          break;
772                  }
773  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines