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

Comparing BasiliskII/src/Unix/video_x.cpp (file contents):
Revision 1.31 by cebix, 2000-11-30T16:09:03Z vs.
Revision 1.33 by cebix, 2001-01-06T22:15:35Z

# Line 334 | Line 334 | static void set_window_name(Window w, in
334                  hints->res_name = "BasiliskII";
335                  hints->res_class = "BasiliskII";
336                  XSetClassHint(x_display, w, hints);
337 <                XFree((char *)hints);
337 >                XFree(hints);
338          }
339   }
340  
# Line 347 | Line 347 | static void set_window_focus(Window w)
347                  hints->initial_state = NormalState;
348                  hints->flags = InputHint | StateHint;
349                  XSetWMHints(x_display, w, hints);
350 <                XFree((char *)hints);
350 >                XFree(hints);
351          }
352   }
353  
# Line 428 | Line 428 | static bool init_window(int width, int h
428                          hints->max_height = height;
429                          hints->flags = PMinSize | PMaxSize;
430                          XSetWMNormalHints(x_display, the_win, hints);
431 <                        XFree((char *)hints);
431 >                        XFree(hints);
432                  }
433          }
434          
# Line 954 | Line 954 | bool VideoInit(bool classic)
954          keycode_init();
955  
956          // Read prefs
957 <        mouse_wheel_mode = PrefsFindInt16("mousewheelmode");
958 <        mouse_wheel_lines = PrefsFindInt16("mousewheellines");
957 >        mouse_wheel_mode = PrefsFindInt32("mousewheelmode");
958 >        mouse_wheel_lines = PrefsFindInt32("mousewheellines");
959  
960          // Find screen and root window
961          screen = XDefaultScreen(x_display);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines