Mercurial > msvpvf
changeset 31:9401d767d989
wtf??
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Fri, 08 Apr 2022 00:07:35 -0400 |
parents | fa7bd08be944 |
children | c517cf837d95 |
files | src/gui.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c Fri Apr 08 00:04:15 2022 -0400 +++ b/src/gui.c Fri Apr 08 00:07:35 2022 -0400 @@ -37,8 +37,7 @@ enum types { vf, veg -}; -enum types type; +} type; char* file_name = " "; void set_data(unsigned char magic[], uint16_t version, FILE* target) { @@ -216,7 +215,7 @@ if (LOWORD(wParam) == COMBOBOX) version = (int16_t)(8+SendMessage((HWND) lParam, (UINT) CB_GETCURSEL, (WPARAM) 0, (LPARAM) 0)); if (LOWORD(wParam) == LISTBOX) - type = (types)SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); + type = (type)SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); } switch(wParam) { case OPEN_FILE_BUTTON: