From f6c8d150905ae7f23eb0bbe11ef6438e4d72c9bd Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 26 May 2013 18:26:22 +0000 Subject: [PATCH] *ide: fixed main package .t file issue git-svn-id: svn://ultimatepp.org/upp/trunk@6111 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/t.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/uppsrc/ide/t.cpp b/uppsrc/ide/t.cpp index c3c8f92af..8ad7bd306 100644 --- a/uppsrc/ide/t.cpp +++ b/uppsrc/ide/t.cpp @@ -538,13 +538,13 @@ void Ide::SyncT(int kind) tf.file = pk.file[iFile]; tf.map = tmap; tf.MakeLS(); + // mark that we've found a local translation file + localT = true; + + // store index of main package translation(s) file(s) + if(iPackage == 0) + mainsT.Add(tfile.GetCount() - 1); } - // mark that we've found a local translation file - localT = true; - - // store index of main package translation(s) file(s) - if(iPackage == 0) - mainsT.Add(tfile.GetCount() - 1); } } // if no local translation file(s), we append translation to