Changeset 1488 for trunk/dll/assoc.c
- Timestamp:
- Dec 22, 2009, 12:42:55 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/dll/assoc.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/assoc.c
r1479 r1488 21 21 24 Aug 08 GKY Warn full drive on save of .DAT file; prevent loss of existing file 22 22 15 Nov 09 GKY Add check for attempt to open zero byte file (avoids MMPM trying to play them) 23 21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c 23 24 24 25 **************************************************************************************/ … … 755 756 } 756 757 bstrip(temp.mask); 757 bstrip(temp.pszCmdLine); 758 if (WinQueryButtonCheckstate(hwnd, ASS_DEFAULT)) 758 bstrip(temp.pszCmdLine); 759 temp.flags = CheckExecutibleFlags(hwnd, 1); 760 /*if (WinQueryButtonCheckstate(hwnd, ASS_DEFAULT)) 759 761 temp.flags = 0; 760 762 else if (WinQueryButtonCheckstate(hwnd, ASS_FULLSCREEN)) … … 771 773 temp.flags |= DIEAFTER; 772 774 if (WinQueryButtonCheckstate(hwnd, ASS_PROMPT)) 773 temp.flags |= PROMPT; 775 temp.flags |= PROMPT;*/ 774 776 if (fCancelAction){ 775 777 fCancelAction = FALSE; … … 830 832 } 831 833 bstrip(temp.mask); 832 bstrip(temp.pszCmdLine); 833 if (WinQueryButtonCheckstate(hwnd, ASS_DEFAULT)) 834 bstrip(temp.pszCmdLine); 835 temp.flags = CheckExecutibleFlags(hwnd, 1); 836 /*if (WinQueryButtonCheckstate(hwnd, ASS_DEFAULT)) 834 837 temp.flags = 0; 835 838 else if (WinQueryButtonCheckstate(hwnd, ASS_FULLSCREEN)) … … 846 849 temp.flags |= DIEAFTER; 847 850 if (WinQueryButtonCheckstate(hwnd, ASS_PROMPT)) 848 temp.flags |= PROMPT; 851 temp.flags |= PROMPT;*/ 849 852 if (fCancelAction){ 850 853 fCancelAction = FALSE; … … 934 937 } 935 938 bstrip(temp.mask); 936 bstrip(temp.pszCmdLine); 937 if (WinQueryButtonCheckstate(hwnd, ASS_DEFAULT)) 939 bstrip(temp.pszCmdLine); 940 temp.flags = CheckExecutibleFlags(hwnd, 1); 941 /*if (WinQueryButtonCheckstate(hwnd, ASS_DEFAULT)) 938 942 temp.flags = 0; 939 943 else if (WinQueryButtonCheckstate(hwnd, ASS_FULLSCREEN)) … … 950 954 temp.flags |= DIEAFTER; 951 955 if (WinQueryButtonCheckstate(hwnd, ASS_PROMPT)) 952 temp.flags |= PROMPT; 956 temp.flags |= PROMPT;*/ 953 957 if (fCancelAction){ 954 958 fCancelAction = FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.
