Commit 18a58d3b authored by lcgamboa's avatar lcgamboa

chg: fix basename SystemCmd !minor

parent 1f71f33b
......@@ -2010,7 +2010,7 @@ int CPWindow1::OnSystemCmd(const PICSimLabSystemCmd cmd, const char* Arg, void*
return Dialog_sz(lxString::FromUTF8(Arg), 400, 200);
break;
case PSC_BASENAME:
basename(lxString::FromUTF8(Arg));
strcpy((char*)ReturnBuff, (const char*)basename(lxString::FromUTF8(Arg)).utf8_str());
break;
default:
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment