diff options
Diffstat (limited to 'Stars45/Mfd.cpp')
-rw-r--r-- | Stars45/Mfd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/Mfd.cpp b/Stars45/Mfd.cpp index caf8bee..3bb341d 100644 --- a/Stars45/Mfd.cpp +++ b/Stars45/Mfd.cpp @@ -1355,8 +1355,9 @@ void MFD::DrawMFDText(int index, const char* txt, Rect& txt_rect, int align, int int n = strlen(txt);
if (n > 250) n = 250;
+ int i;
- for (int i = 0; i < n; i++) {
+ for (i = 0; i < n; i++) {
if (islower(txt[i]))
txt_buf[i] = toupper(txt[i]);
else
|