Style nits.

This commit is contained in:
Themaister 2012-10-31 00:40:02 +01:00
parent 60b8be65c2
commit b8abbf8131
1 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ namespace Callback
case WM_CREATE: case WM_CREATE:
LPCREATESTRUCT p_cs; LPCREATESTRUCT p_cs;
p_cs = (LPCREATESTRUCT)lParam; p_cs = (LPCREATESTRUCT)lParam;
curD3D = (D3DVideo *)p_cs->lpCreateParams; curD3D = (D3DVideo*)p_cs->lpCreateParams;
break; break;
case WM_SYSKEYDOWN: case WM_SYSKEYDOWN:
@ -303,9 +303,9 @@ RECT D3DVideo::monitor_rect()
} }
else else
{ {
for(unsigned i=0;i<Monitor::num_mons;i++) for (unsigned i = 0; i < Monitor::num_mons; i++)
{ {
if(Monitor::all_hms[i]==hm_to_use) if (Monitor::all_hms[i] == hm_to_use)
{ {
Monitor::cur_mon_id = i; Monitor::cur_mon_id = i;
break; break;
@ -998,10 +998,10 @@ void D3DVideo::update_title()
void D3DVideo::resize(unsigned new_width, unsigned new_height) void D3DVideo::resize(unsigned new_width, unsigned new_height)
{ {
if(!dev) if (!dev)
return; return;
if(new_width != video_info.width || new_height != video_info.height) if (new_width != video_info.width || new_height != video_info.height)
{ {
video_info.width = screen_width = new_width; video_info.width = screen_width = new_width;
video_info.height = screen_height = new_height; video_info.height = screen_height = new_height;