Diff of /ooDialog/trunk/ooDialog/oodDeviceGraphics.cpp [r8826] .. [r8827] Maximize Restore

  Switch to side-by-side view

--- a/ooDialog/trunk/ooDialog/oodDeviceGraphics.cpp
+++ b/ooDialog/trunk/ooDialog/oodDeviceGraphics.cpp
@@ -588,7 +588,7 @@
 {
     if ( pcpbd->ColorTab == NULL )
     {
-        pcpbd->ColorTab = (COLORTABLEENTRY *)LocalAlloc(LMEM_FIXED, sizeof(COLORTABLEENTRY) * DEF_MAX_CT_ENTRIES);
+        pcpbd->ColorTab = (COLORTABLEENTRY *)LocalAlloc(LPTR, sizeof(COLORTABLEENTRY) * DEF_MAX_CT_ENTRIES);
         if ( pcpbd->ColorTab == NULL )
         {
             outOfMemoryException(c->threadContext);