Blame adonthell-gcc44.patch
|
|
0754337 |
diff -C 3 -r1.36 -r1.37
|
|
|
0754337 |
*** src/dialog.cc 13 Oct 2007 19:47:25 -0000 1.36
|
|
|
0754337 |
--- src/dialog.cc 1 Mar 2009 12:26:14 -0000 1.37
|
|
|
0754337 |
***************
|
|
|
0754337 |
*** 265,271 ****
|
|
|
0754337 |
{
|
|
|
0754337 |
u_int32 begin, end, len;
|
|
|
0754337 |
PyObject *result;
|
|
|
0754337 |
! char *tmp, *start, *mid, *str = NULL;
|
|
|
0754337 |
character *the_player = data::the_player;
|
|
|
0754337 |
string newstr (s);
|
|
|
0754337 |
|
|
|
0754337 |
--- 265,272 ----
|
|
|
0754337 |
{
|
|
|
0754337 |
u_int32 begin, end, len;
|
|
|
0754337 |
PyObject *result;
|
|
|
0754337 |
! const char *start;
|
|
|
0754337 |
! char *tmp, *mid, *str = NULL;
|
|
|
0754337 |
character *the_player = data::the_player;
|
|
|
0754337 |
string newstr (s);
|
|
|
0754337 |
|
|
|
0754337 |
***************
|
|
|
0754337 |
*** 318,324 ****
|
|
|
0754337 |
|
|
|
0754337 |
// Error!
|
|
|
0754337 |
cout << "\n*** Error, unknown macro " << start << flush;
|
|
|
0754337 |
! start[0] = ' ';
|
|
|
0754337 |
}
|
|
|
0754337 |
|
|
|
0754337 |
// execute python functions
|
|
|
0754337 |
--- 319,325 ----
|
|
|
0754337 |
|
|
|
0754337 |
// Error!
|
|
|
0754337 |
cout << "\n*** Error, unknown macro " << start << flush;
|
|
|
0754337 |
! newstr[newstr.length () - strlen (start)] = ' ';
|
|
|
0754337 |
}
|
|
|
0754337 |
|
|
|
0754337 |
// execute python functions
|