diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-06-29 16:55:38 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-06-29 16:55:38 +0200 |
| commit | ecfb4b72fec0c25ef416038ef22db5d34d687ee4 (patch) | |
| tree | 119201f80df6c5bb6f40949a26d1015263cb4097 /alf/alfpanel.cpp | |
| parent | ae25d8012939de481633fa3572e7cd598d8a5a5f (diff) | |
get rid of last usages of InterlockedIncrement
doesn't work right on Win95/NT 3.51
Diffstat (limited to 'alf/alfpanel.cpp')
| -rw-r--r-- | alf/alfpanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfpanel.cpp b/alf/alfpanel.cpp index 58f933e..5a18976 100644 --- a/alf/alfpanel.cpp +++ b/alf/alfpanel.cpp @@ -58,7 +58,7 @@ ALF_RegisterPanelClass(void) ZeroMemory(&cls, sizeof(cls)); TCHAR classNameBuf[256]; - ALF_BuildRandomClassName(TEXT("ALFPanel"), classNameBuf, 256); + ALF_BuildUniqueName(classNameBuf, TEXT("ALFPanel."), (ULONG_PTR)&_alf_panelClass); cls.hInstance = ALF_HINSTANCE; cls.hCursor = LoadCursor(NULL, (LPTSTR)IDC_ARROW); |
