1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

raise version number

This commit is contained in:
FunkyFr3sh 2018-10-28 12:41:08 +01:00
parent 0bca0877fb
commit ff5fcec431
2 changed files with 13 additions and 5 deletions

View File

@ -2,7 +2,7 @@
#define vxstr(a,b,c,d) str(a##.##b##.##c##.##d) #define vxstr(a,b,c,d) str(a##.##b##.##c##.##d)
#define str(s) #s #define str(s) #s
#define VERSION 1,2,2,4 #define VERSION 1,2,2,5
1 VERSIONINFO 1 VERSIONINFO
FILEVERSION VERSION FILEVERSION VERSION

View File

@ -790,11 +790,17 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WMSZ_TOPRIGHT: case WMSZ_TOPRIGHT:
case WMSZ_BOTTOMRIGHT: case WMSZ_BOTTOMRIGHT:
case WMSZ_RIGHT: case WMSZ_RIGHT:
windowrc->right += ddraw->width - clientrc.right; break; {
windowrc->right += ddraw->width - clientrc.right;
break;
}
case WMSZ_TOPLEFT: case WMSZ_TOPLEFT:
case WMSZ_BOTTOMLEFT: case WMSZ_BOTTOMLEFT:
case WMSZ_LEFT: 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_BOTTOMRIGHT:
case WMSZ_BOTTOM: case WMSZ_BOTTOM:
{ {
windowrc->bottom += ddraw->height - clientrc.bottom; break; windowrc->bottom += ddraw->height - clientrc.bottom;
break;
} }
case WMSZ_TOPLEFT: case WMSZ_TOPLEFT:
case WMSZ_TOPRIGHT: case WMSZ_TOPRIGHT:
case WMSZ_TOP: case WMSZ_TOP:
{ {
windowrc->top -= ddraw->height - clientrc.bottom; break; windowrc->top -= ddraw->height - clientrc.bottom;
break;
} }
} }
} }