From 8e0d44a97a2be0ea53e0a20c21eb6eb740ee048c Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 24 Sep 2008 21:06:43 +0000 Subject: [PATCH] Alt+J improved - corrected behaviour with multiline definition, adds appropriate number of tabs git-svn-id: svn://ultimatepp.org/upp/trunk@481 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/RichText/ParseQtf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/RichText/ParseQtf.cpp b/uppsrc/RichText/ParseQtf.cpp index 551a9992e..9d2ce05f5 100644 --- a/uppsrc/RichText/ParseQtf.cpp +++ b/uppsrc/RichText/ParseQtf.cpp @@ -703,7 +703,8 @@ void RichQtfParser::Parse(const char *qtf, byte _accesskey) } break; case 't': - format.tabsize = ReadNumber(); + if(IsDigit(*term)) //temporary fix... :( + format.tabsize = ReadNumber(); break; case '~': { if(Key('~'))