Skip to content

Commit 005d1be

Browse files
committed
fix build on MSYS2
1 parent 6213273 commit 005d1be

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/RisohEditor.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5843,7 +5843,7 @@ BOOL MMainWnd::DoWriteRC(LPCWSTR pszFileName, LPCWSTR pszResH, const EntrySet& f
58435843
{
58445844
if (!textinclude1_a.empty())
58455845
{
5846-
std::wstring path = textinclude1_w;
5846+
std::wstring path = textinclude1_w.c_str();
58475847
if (path.find(L"< ") == 0)
58485848
path = path.substr(2);
58495849

@@ -9443,9 +9443,6 @@ void MMainWnd::OnCommand(HWND hwnd, int id, HWND hwndCtl, UINT codeNotify)
94439443
case ID_OPENREADMEPTB:
94449444
OnOpenLocalFile(hwnd, L"README_pt.txt");
94459445
break;
9446-
case ID_OPENREADMETR:
9447-
OnOpenLocalFile(hwnd, L"README_tr.txt");
9448-
break;
94499446
case ID_OPENHISTORYPTB:
94509447
OnOpenLocalFile(hwnd, L"CHANGELOG_pt.txt");
94519448
break;

src/resource.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@
532532
#define ID_OPENREADMEES 280
533533
#define ID_OPENHISTORYES 281
534534
#define ID_INTERNALTEST 282
535-
#define ID_OPENREADMETR 283
536535

537536
#define MSGID_HELLO 101
538537
#define MSGID_SAMPLE 102
@@ -543,7 +542,7 @@
543542
#ifndef APSTUDIO_READONLY_SYMBOLS
544543
#define _APS_NO_MFC 1
545544
#define _APS_NEXT_RESOURCE_VALUE 111
546-
#define _APS_NEXT_COMMAND_VALUE 284
545+
#define _APS_NEXT_COMMAND_VALUE 283
547546
#define _APS_NEXT_CONTROL_VALUE 1002
548547
#define _APS_NEXT_SYMED_VALUE 300
549548
#endif

0 commit comments

Comments
 (0)