Mercurial > msvpvf
changeset 40:cd50c59286be
oops..
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Fri, 22 Apr 2022 02:12:40 -0400 |
parents | b32218b54640 |
children | 02e46804c923 |
files | src/gui.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c Fri Apr 22 02:08:59 2022 -0400 +++ b/src/gui.c Fri Apr 22 02:12:40 2022 -0400 @@ -193,7 +193,7 @@ memset(&A,0,sizeof(A)); int i = 0; for (i = 0; i <= 11; i++) { - strncpy((TCHAR*)A, (TCHAR*)versions[i], ARRAYSIZE(A); + strncpy((TCHAR*)A, (TCHAR*)versions[i], ARRAYSIZE(A)); SendMessage(hWndComboBox, (UINT)CB_ADDSTRING, (WPARAM)0, (LPARAM)A); } SendMessage(hWndComboBox, CB_SETCURSEL, (WPARAM)3, (LPARAM)0);