Skip to content

Commit 0ac267a

Browse files
Update main.cpp
1 parent 2ad3670 commit 0ac267a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

main.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ void data_handler(const TCHAR *pcs_file_name)
14771477
SendDlgItemMessage(ghw_main, IDC_PLAY_STYL, CB_RESETCONTENT, 0, 0);
14781478
for (int ii = 0; ii < numPlayStyles; ii++)
14791479
{
1480-
SendDlgItemMessage(ghw_main, IDC_PLAY_STYL, CB_ADDSTRING, 0, (LPARAM)gpc_playstyle18[ii]);
1480+
SendDlgItemMessage(ghw_main, IDC_PLAY_STYL, CB_ADDSTRING, 0, (LPARAM)gpc_playstyle16[ii]);
14811481
}
14821482

14831483
//get number of player, team entries
@@ -1549,11 +1549,11 @@ void data_handler(const TCHAR *pcs_file_name)
15491549
UpdateWindow(GetDlgItem(ghw_tab1, IDC_STATIC_T35));
15501550

15511551
//Fill Play Style combobox:
1552-
int numPlayStyles = 18;
1552+
int numPlayStyles = 19;
15531553
SendDlgItemMessage(ghw_main, IDC_PLAY_STYL, CB_RESETCONTENT, 0, 0);
15541554
for (int ii = 0; ii < numPlayStyles; ii++)
15551555
{
1556-
SendDlgItemMessage(ghw_main, IDC_PLAY_STYL, CB_ADDSTRING, 0, (LPARAM)gpc_playstyle18[ii] );
1556+
SendDlgItemMessage(ghw_main, IDC_PLAY_STYL, CB_ADDSTRING, 0, (LPARAM)gpc_playstyle16[ii] );
15571557
}
15581558

15591559
//get number of player, team entries
@@ -5808,3 +5808,4 @@ void update_tables()
58085808
}
58095809

58105810

5811+

0 commit comments

Comments
 (0)