From dcf1df3c72a8b931448c602c0b8ba48d700d1913 Mon Sep 17 00:00:00 2001 From: silversurfer Date: Mon, 14 Oct 2013 10:54:31 +0000 Subject: [PATCH] Bugfix for BR mail order screen - items with long names displayed only ... when index >= 20 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6494 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Laptop/BobbyRMailOrder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Laptop/BobbyRMailOrder.cpp b/Laptop/BobbyRMailOrder.cpp index 9320fb1dd..68a76fd73 100644 --- a/Laptop/BobbyRMailOrder.cpp +++ b/Laptop/BobbyRMailOrder.cpp @@ -776,7 +776,7 @@ void RenderBobbyRMailOrder() //Output the shipping location DrawTextToScreen(BobbyROrderFormText[BOBBYR_SHIPPING_LOCATION], BOBBYR_SHIPPING_LOCATION_TEXT_X, BOBBYR_SHIPPING_LOCATION_TEXT_Y, 0, BOBBYR_ORDER_STATIC_TEXT_FONT, BOBBYR_ORDER_STATIC_TEXT_COLOR, FONT_MCOLOR_BLACK, FALSE, LEFT_JUSTIFIED); - //Output the shiupping speed + //Output the shipping speed DrawTextToScreen(BobbyROrderFormText[BOBBYR_SHIPPING_SPEED], BOBBYR_SHIPPING_SPEED_X, BOBBYR_SHIPPING_SPEED_Y, 0, BOBBYR_ORDER_STATIC_TEXT_FONT, BOBBYR_ORDER_STATIC_TEXT_COLOR, FONT_MCOLOR_BLACK, FALSE, LEFT_JUSTIFIED); //Create a string for the weight ( %s ) ( where %s is the weight string, either kg or lbs ) @@ -1121,7 +1121,7 @@ void DisplayPurchasedItems( BOOLEAN fCalledFromOrderPage, UINT16 usGridX, UINT16 usStringLength = wcslen(sText); usPixLength=0; OneChar[1] = L'\0'; - for(j=0; (i