Skip to content

Commit

Permalink
Merge pull request #129 from domikuss/master
Browse files Browse the repository at this point in the history
Fixed lack of bytes for the output of Russian characters
  • Loading branch information
R1KO authored Apr 20, 2022
2 parents 62eb583 + 3164335 commit c96d215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/shop.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ void ConfirmBuy(int client, int item_id)
if (panel == null)
return;

char sBuffer[SHOP_MAX_STRING_LENGTH], sItemId[16];
char sBuffer[256], sItemId[16];
IntToString(item_id, sItemId, sizeof(sItemId));

SetGlobalTransTarget(client);
Expand Down Expand Up @@ -1316,7 +1316,7 @@ void ConfirmSell(int client, int item_id)
if (panel == null)
return;

char sBuffer[SHOP_MAX_STRING_LENGTH], sItemId[16];
char sBuffer[256], sItemId[16];
IntToString(item_id, sItemId, sizeof(sItemId));

SetGlobalTransTarget(client);
Expand Down

0 comments on commit c96d215

Please sign in to comment.