ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/video_macosx.mm
(Generate patch)

Comparing BasiliskII/src/MacOSX/video_macosx.mm (file contents):
Revision 1.12 by nigel, 2004-01-20T23:41:11Z vs.
Revision 1.13 by nigel, 2004-01-27T04:39:33Z

# Line 101 | Line 101 | colours_from_depth(const uint16 depth)
101   bool
102   parse_screen_prefs(const char *mode_str)
103   {
104 +        if ( ! mode_str )
105 +                return false;
106 +
107          if (sscanf(mode_str, "win/%hd/%hd/%hd",
108                                  &init_width, &init_height, &init_depth) == 3)
109                  display_type = DISPLAY_WINDOW;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines