From a5e1d046ddf6af87dfe4c5887843eab147f6d3ca Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 25 May 2011 23:06:37 +0000 Subject: [PATCH] - better character for multi-byte char width use (use a instead of W) --- source/shared_lib/sources/graphics/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/graphics/font.cpp b/source/shared_lib/sources/graphics/font.cpp index 9c4dcfa7..0fca9943 100644 --- a/source/shared_lib/sources/graphics/font.cpp +++ b/source/shared_lib/sources/graphics/font.cpp @@ -50,7 +50,7 @@ float FontMetrics::getTextWidth(const string &str) const { } //Treat 2 byte characters as spaces if(str[i] < 0) { - width+= (widths[87]); // This is the letter W which is a fairly wide character and good to use for spacing + width+= (widths[97]); // This is the letter a which is a normal wide character and good to use for spacing //i++; } else {