Skip to content

Commit 4dd014d

Browse files
committed
minor fixes 2
1 parent e2b306a commit 4dd014d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/gui/src/type_extension/extension_manually_event.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ void ExtensionManually_Container::onExtend(wxCommandEvent &event) {
108108

109109
void ExtensionManually_Container::appendRecordList() {
110110

111-
std::string value(this->tcRecord->GetValue().c_str());
111+
std::wstring value(this->tcRecord->GetValue().c_str());
112112

113-
if (value.compare("")==0)
113+
if (value.compare(reinterpret_cast<const wchar_t *>("")) == 0)
114114
{
115115
this->stError->SetLabelText("Empty record!");
116116
this->stError->SetForegroundColour(wxColor(*wxRED));

0 commit comments

Comments
 (0)