diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 63b5aaa30..41cfe8336 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -7,7 +7,7 @@ bill@newbreedsoftware.com http://www.newbreedsoftware.com/tuxpaint/ -2005.Jul.25 (0.9.15) +2005.Jul.26 (0.9.15) * uncatagorized and messy: ----------------------- @@ -205,6 +205,9 @@ http://www.newbreedsoftware.com/tuxpaint/ * Bug fixes: ------------------- + * Untranslated text in right-to-left languages (e.g., Hebrew) are no + longer displayed backwards. + * [Alt] to bring up print dialog had to be held while hitting 'Ok' to confirm print. This was a bug! Fixed! diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 94e7a80f5..8da6c04ca 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -22,12 +22,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - July 17, 2005 + June 14, 2002 - July 26, 2005 */ #define VER_VERSION "0.9.15" -#define VER_DATE "2005-07-17" +#define VER_DATE "2005-07-26" /* Color depth for Tux Paint to run in, and store canvases in: */ @@ -10651,6 +10651,12 @@ static void wordwrap_text(const char * const str, SDL_Color color, if (strcmp(str, "") != 0) { + if (strcmp(str, gettext(str)) == 0) + { + /* String isn't translated! Don't write right-to-left */ + want_right_to_left = 0; + } + if (want_right_to_left == 0) locale_str = strdup(gettext(str)); else