diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-10-02 12:40:00 -0400 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-10-02 12:40:00 -0400 |
commit | 2ac3ad3e607c0c54d28223825b39b9e695022b5c (patch) | |
tree | 3bff8424909b1038b72ca4b310f12f9e0835088b /src/shop.c | |
parent | 67152b92424419a470ed2bb0cf5e5f8a8ced38de (diff) | |
parent | cb528cb543ab98a58ba2b5a78524c3542ed80f62 (diff) |
Review changes for #819 and merge
Diffstat (limited to 'src/shop.c')
-rwxr-xr-x | src/shop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shop.c b/src/shop.c index bf15568fb..ebbc2a847 100755 --- a/src/shop.c +++ b/src/shop.c @@ -17,7 +17,7 @@ #include "item_menu.h" #include "list_menu.h" #include "main.h" -#include "alloc.h" +#include "malloc.h" #include "menu.h" #include "menu_helpers.h" #include "money.h" @@ -1147,7 +1147,7 @@ static void BuyMenuPrintItemQuantityAndPrice(u8 taskId) FillWindowPixelBuffer(4, PIXEL_FILL(1)); PrintMoneyAmount(4, 38, 1, gShopDataPtr->totalCost, TEXT_SPEED_FF); - ConvertIntToDecimalStringN(gStringVar1, tItemCount, 2, 2); + ConvertIntToDecimalStringN(gStringVar1, tItemCount, STR_CONV_MODE_LEADING_ZEROS, 2); StringExpandPlaceholders(gStringVar4, gText_xVar1); BuyMenuPrint(4, gStringVar4, 0, 1, 0, 0); } |