Fix handling of WM_COMMAND messages
authorThomas Bluemel <thomas@reactsoft.com>
Sun, 6 Jan 2008 22:28:28 +0000 (22:28 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sun, 6 Jan 2008 22:28:28 +0000 (22:28 +0000)
svn path=/trunk/; revision=31635

reactos/dll/win32/shell32/fprop.c

index c8f016e..8600f80 100644 (file)
@@ -540,9 +540,13 @@ SH_FileVersionDlgProc(
           SendMessageW(hDlgCtrl, WM_SETTEXT, (WPARAM)NULL, (LPARAM)str);
        return TRUE;
         }
+     break;
+
   case WM_DESTROY:
        buf = (LPVOID)GetWindowLong(hwndDlg, DWL_USER);
           HeapFree(GetProcessHeap(), 0, buf);
+       break;
+
   default:
          break;
   }