[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src tstring.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src tstring.cpp |
Date: |
Sat, 14 May 2005 15:33:37 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 05/05/14 19:33:37
Modified files:
src : tstring.cpp
Log message:
Small cleanup.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/tstring.cpp.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
Patches:
Index: wesnoth/src/tstring.cpp
diff -u wesnoth/src/tstring.cpp:1.11 wesnoth/src/tstring.cpp:1.12
--- wesnoth/src/tstring.cpp:1.11 Sat May 14 19:13:52 2005
+++ wesnoth/src/tstring.cpp Sat May 14 19:33:37 2005
@@ -1,4 +1,4 @@
-/* $Id: tstring.cpp,v 1.11 2005/05/14 19:13:52 silene Exp $ */
+/* $Id: tstring.cpp,v 1.12 2005/05/14 19:33:37 silene Exp $ */
/*
Copyright (C) 2004 by Philippe Plantier <address@hidden>
Copyright (C) 2005 by Guillaume Melquiond <address@hidden>
@@ -348,7 +348,7 @@
translated_value_ = "";
if(string.translatable_) {
if (last_untranslatable_ && string.value_[0] ==
UNTRANSLATABLE_PART)
- value_.append(string.value_, 1,
string.value_.size() - 1);
+ value_.append(string.value_.begin() + 1,
string.value_.end());
else
value_ += string.value_;
last_untranslatable_ = string.last_untranslatable_;
- [Wesnoth-cvs-commits] wesnoth/src tstring.cpp,
Guillaume Melquiond <=