@@ -400,13 +400,13 @@ static int DrawString(int left, int righ
int max_right = INT32_MIN;
int initial_left = left;
int initial_right = right;
int initial_top = top;
if (truncate) TruncateString(str, right - left);
if (truncate) TruncateString(str, right - left + 1);
/*
* To support SETX and SETXY properly with RTL languages we have to
* calculate the offsets from the right. To do this we need to split
* the string and draw the parts separated by SETX(Y).
* So here we split
Status change: