--- a/WinWorkstation.st Tue Apr 04 12:20:33 2017 +0200
+++ b/WinWorkstation.st Tue Apr 25 11:20:05 2017 +0200
@@ -6471,10 +6471,10 @@
# define GR_USEROBJECTS_PEAK 4
#endif
HANDLE proc = GetCurrentProcess();
- __ArrayInstPtr(counts)->a_element[0] = __MKSMALLINT(GetGuiResources(proc, GR_GDIOBJECTS));
- __ArrayInstPtr(counts)->a_element[1] = __MKSMALLINT(GetGuiResources(proc, GR_GDIOBJECTS_PEAK));
- __ArrayInstPtr(counts)->a_element[2] = __MKSMALLINT(GetGuiResources(proc, GR_USEROBJECTS));
- __ArrayInstPtr(counts)->a_element[3] = __MKSMALLINT(GetGuiResources(proc, GR_USEROBJECTS_PEAK));
+ __ArrayInstPtr(counts)->a_element[0] = __MKSMALLINT(GetGuiResources(proc, GR_USEROBJECTS));
+ __ArrayInstPtr(counts)->a_element[1] = __MKSMALLINT(GetGuiResources(proc, GR_USEROBJECTS_PEAK));
+ __ArrayInstPtr(counts)->a_element[2] = __MKSMALLINT(GetGuiResources(proc, GR_GDIOBJECTS));
+ __ArrayInstPtr(counts)->a_element[3] = __MKSMALLINT(GetGuiResources(proc, GR_GDIOBJECTS_PEAK));
%}.
^counts