Skip to content

Commit f2528db

Browse files
committed
Fix #267
1 parent 0711d8b commit f2528db

8 files changed

+15
-1
lines changed

HISTORY-ES.txt

+1
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,4 @@
323323
- Función de entrada EGA abolida.
324324
- v.5.8.6 (2025-XX-YY)
325325
- Added Spanish translation.
326+
- Fixed RES_save function for saving *.dll.

HISTORY-ID.txt

+1
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,4 @@
323323
- Abolished EGA input function.
324324
- v.5.8.6 (2025-XX-YY)
325325
- Added Spanish translation.
326+
- Fixed RES_save function for saving *.dll.

HISTORY-ITA.txt

+1
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,4 @@
323323
- Abolita funzione input EGA.
324324
- v.5.8.6 (2025-XX-YY)
325325
- Added Spanish translation.
326+
- Fixed RES_save function for saving *.dll.

HISTORY-JPN.txt

+1
Original file line numberDiff line numberDiff line change
@@ -667,3 +667,4 @@
667667
- EGA input関数を廃止した。
668668
- v.5.8.6 (2025-XX-YY)
669669
- Added Spanish translation.
670+
- Fixed RES_save function for saving *.dll.

HISTORY-KOR.txt

+1
Original file line numberDiff line numberDiff line change
@@ -324,3 +324,4 @@
324324
- EGA 입력 기능이 폐지되었습니다.
325325
- v.5.8.6 (2025-XX-YY)
326326
- Added Spanish translation.
327+
- Fixed RES_save function for saving *.dll.

HISTORY-PTB.txt

+1
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,4 @@
323323
- Abolished EGA input function.
324324
- v.5.8.6 (2025-XX-YY)
325325
- Added Spanish translation.
326+
- Fixed RES_save function for saving *.dll.

HISTORY.txt

+1
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,4 @@
323323
- Abolished EGA input function.
324324
- v.5.8.6 (2025-XX-YY)
325325
- Added Spanish translation.
326+
- Fixed RES_save function for saving *.dll.

src/RisohEditor.cpp

+8-1
Original file line numberDiff line numberDiff line change
@@ -9483,8 +9483,15 @@ BOOL MMainWnd::DoSaveResAs(LPCWSTR pszResFile)
94839483
BOOL MMainWnd::DoSaveFile(HWND hwnd, LPCWSTR pszFile)
94849484
{
94859485
LPWSTR pchDotExt = PathFindExtensionW(pszFile);
9486-
if (lstrcmpiW(pchDotExt, L".exe") == 0)
9486+
if (lstrcmpiW(pchDotExt, L".exe") == 0 ||
9487+
lstrcmpiW(pchDotExt, L".dll") == 0 ||
9488+
lstrcmpiW(pchDotExt, L".ocx") == 0 ||
9489+
lstrcmpiW(pchDotExt, L".cpl") == 0 ||
9490+
lstrcmpiW(pchDotExt, L".scr") == 0 ||
9491+
lstrcmpiW(pchDotExt, L".mui") == 0)
9492+
{
94879493
return DoSaveExeAs(pszFile);
9494+
}
94889495
if (lstrcmpiW(pchDotExt, L".rc") == 0)
94899496
return DoExportRC(pszFile, NULL);
94909497
if (lstrcmpiW(pchDotExt, L".res") == 0)

0 commit comments

Comments
 (0)