Skip to content

Commit

Permalink
chg: fix basename SystemCmd !minor
Browse files Browse the repository at this point in the history
  • Loading branch information
lcgamboa committed Feb 15, 2024
1 parent 1f71f33 commit 18a58d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/picsimlab1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 18a58d3

Please sign in to comment.