Skip to content

Commit 59241a5

Browse files
committed
delete --use-temp-file
1 parent c0d1ee9 commit 59241a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/RisohEditor.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -6653,6 +6653,7 @@ BOOL MMainWnd::CompileStringTable(MStringA& strOutput, const MIdOrString& name,
66536653
r1.WriteFormatA("#include <windows.h>\r\n");
66546654
r1.WriteFormatA("#include <commctrl.h>\r\n");
66556655
r1.WriteFormatA("#pragma code_page(65001) // UTF-8\r\n");
6656+
r1.WriteFormatA("LANGUAGE 0x%04X, 0x%04X\r\n", PRIMARYLANGID(lang), SUBLANGID(lang));
66566657

66576658
// dump the macros
66586659
for (auto& pair : g_settings.id_map)
@@ -7130,7 +7131,7 @@ BOOL MMainWnd::CompileParts(MStringA& strOutput, const MIdOrString& type, const
71307131
strCmdLine += szPath3;
71317132
strCmdLine += L"\" -J rc -O res -F pe-i386 --preprocessor=\"";
71327133
strCmdLine += m_szMCppExe;
7133-
strCmdLine += L"\" --use-temp-file \"";
7134+
strCmdLine += L"\" \"";
71347135
strCmdLine += szPath1;
71357136
strCmdLine += '\"';
71367137
//MessageBoxW(NULL, strCmdLine.c_str(), NULL, 0);

0 commit comments

Comments
 (0)