Le 22/02/2013 16:29, Richard Heck a écrit :
On 02/22/2013 10:04 AM, Jean-Marc Lasgouttes wrote:
diff --git a/src/tex2lyx/Parser.cpp b/src/tex2lyx/Parser.cpp
index 11ecfe1..d87ff29 100644
--- a/src/tex2lyx/Parser.cpp
+++ b/src/tex2lyx/Parser.cpp
@@ -131,11 +131,11 @@ bool iparserdocstream::setEncoding(std::string
const& e)
void iparserdocstream::putback(char_type c)
{
- s_ += c;
+ s_ = c + s_;
}
I'm just curious: Is there an actual difference between these?
In on case you append, in the other one you prepend.
JMarc