Skip to content

Commit

Permalink
Fix #267
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Feb 3, 2025
1 parent 0711d8b commit f2528db
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY-ES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,4 @@
- Función de entrada EGA abolida.
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
1 change: 1 addition & 0 deletions HISTORY-ID.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,4 @@
- Abolished EGA input function.
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
1 change: 1 addition & 0 deletions HISTORY-ITA.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,4 @@
- Abolita funzione input EGA.
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
1 change: 1 addition & 0 deletions HISTORY-JPN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -667,3 +667,4 @@
- EGA input関数を廃止した。
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
1 change: 1 addition & 0 deletions HISTORY-KOR.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,4 @@
- EGA 입력 기능이 폐지되었습니다.
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
1 change: 1 addition & 0 deletions HISTORY-PTB.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,4 @@
- Abolished EGA input function.
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
1 change: 1 addition & 0 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,4 @@
- Abolished EGA input function.
- v.5.8.6 (2025-XX-YY)
- Added Spanish translation.
- Fixed RES_save function for saving *.dll.
9 changes: 8 additions & 1 deletion src/RisohEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9483,8 +9483,15 @@ BOOL MMainWnd::DoSaveResAs(LPCWSTR pszResFile)
BOOL MMainWnd::DoSaveFile(HWND hwnd, LPCWSTR pszFile)
{
LPWSTR pchDotExt = PathFindExtensionW(pszFile);
if (lstrcmpiW(pchDotExt, L".exe") == 0)
if (lstrcmpiW(pchDotExt, L".exe") == 0 ||
lstrcmpiW(pchDotExt, L".dll") == 0 ||
lstrcmpiW(pchDotExt, L".ocx") == 0 ||
lstrcmpiW(pchDotExt, L".cpl") == 0 ||
lstrcmpiW(pchDotExt, L".scr") == 0 ||
lstrcmpiW(pchDotExt, L".mui") == 0)
{
return DoSaveExeAs(pszFile);
}
if (lstrcmpiW(pchDotExt, L".rc") == 0)
return DoExportRC(pszFile, NULL);
if (lstrcmpiW(pchDotExt, L".res") == 0)
Expand Down

0 comments on commit f2528db

Please sign in to comment.