Author: sapient
Date: Fri May 25 00:25:20 2007
New Revision: 17841
URL: http://svn.gna.org/viewcvs/wesnoth?rev=17841&view=rev
Log:
fix a bad typo in the previous commit
Modified:
trunk/src/serialization/preprocessor.cpp
Modified: trunk/src/serialization/preprocessor.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/preprocessor.cpp?rev=17841&r1=17840&r2=17841&view=diff
==============================================================================
--- trunk/src/serialization/preprocessor.cpp (original)
+++ trunk/src/serialization/preprocessor.cpp Fri May 25 00:25:20 2007
@@ -128,7 +128,7 @@
delete current_;
}
}
- //update the internal data and pointers
+ //update the internal state and data pointers
out_buffer_ = buffer_.str();
char *begin = &*out_buffer_.begin();
unsigned bs = out_buffer_.size();
@@ -150,7 +150,7 @@
namespace {
void count_extra_digits(int const& line_number, int& buffer_size) {
- for(int digit_mark = 10; line_number >= digit_mark; ++digit_mark) {
+ for(int digit_mark = 10; line_number >= digit_mark; digit_mark *= 10) {
//the number is larger than one digit, calculate additional
string size
++buffer_size;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits