mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
raise version number
This commit is contained in:
parent
0bca0877fb
commit
ff5fcec431
2
ddraw.rc
2
ddraw.rc
@ -2,7 +2,7 @@
|
||||
#define vxstr(a,b,c,d) str(a##.##b##.##c##.##d)
|
||||
#define str(s) #s
|
||||
|
||||
#define VERSION 1,2,2,4
|
||||
#define VERSION 1,2,2,5
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION
|
||||
|
16
src/main.c
16
src/main.c
@ -790,11 +790,17 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
case WMSZ_TOPRIGHT:
|
||||
case WMSZ_BOTTOMRIGHT:
|
||||
case WMSZ_RIGHT:
|
||||
windowrc->right += ddraw->width - clientrc.right; break;
|
||||
{
|
||||
windowrc->right += ddraw->width - clientrc.right;
|
||||
break;
|
||||
}
|
||||
case WMSZ_TOPLEFT:
|
||||
case WMSZ_BOTTOMLEFT:
|
||||
case WMSZ_LEFT:
|
||||
windowrc->left -= ddraw->width - clientrc.right; break;
|
||||
{
|
||||
windowrc->left -= ddraw->width - clientrc.right;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -806,13 +812,15 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
case WMSZ_BOTTOMRIGHT:
|
||||
case WMSZ_BOTTOM:
|
||||
{
|
||||
windowrc->bottom += ddraw->height - clientrc.bottom; break;
|
||||
windowrc->bottom += ddraw->height - clientrc.bottom;
|
||||
break;
|
||||
}
|
||||
case WMSZ_TOPLEFT:
|
||||
case WMSZ_TOPRIGHT:
|
||||
case WMSZ_TOP:
|
||||
{
|
||||
windowrc->top -= ddraw->height - clientrc.bottom; break;
|
||||
windowrc->top -= ddraw->height - clientrc.bottom;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user