[SHELLBTRFS] Prevent the compression dropbox from accepting free text CORE-16971
authorJoachim Henze <Joachim.Henze@reactos.org>
Sat, 15 Aug 2020 11:43:00 +0000 (13:43 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sat, 15 Aug 2020 11:43:00 +0000 (13:43 +0200)
Initially proposed to ros via https://github.com/reactos/reactos/pull/2677
and already integrated upstream Apr 28, 2020 by
https://github.com/maharmstone/btrfs/pull/258/commits/aba729c8f56a7267d1140b0fb6733037b0558d3d

dll/shellext/shellbtrfs/shellbtrfs.rc

index 8603475..cf13a2b 100644 (file)
@@ -134,7 +134,7 @@ BEGIN
     CONTROL         "Compress",IDC_COMPRESS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,246,46,10
     LTEXT           "Size on disk:",IDC_STATIC,14,63,61,8
     CONTROL         "%s (<a>Details</a>)",IDC_SIZE_ON_DISK,"SysLink",WS_TABSTOP,78,63,142,8
-    COMBOBOX        IDC_COMPRESS_TYPE,63,245,48,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
+    COMBOBOX        IDC_COMPRESS_TYPE,63,245,48,13,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
     CONTROL         "Readonly subvolume",IDC_SUBVOL_RO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,124,232,80,10
     LTEXT           "(blank)",IDC_SUBVOL,78,21,70,8
     PUSHBUTTON      "&Open as Admin",IDC_OPEN_ADMIN,151,21,70,14