mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
Fix: Local declaration of 'num_lines' hides declaration of the same name in outer scope.
This commit is contained in:
1 parent
8ba4f6c3c6
commit
8bc8deffd6
1 file changed
+1
-1
+1
-1
@@ -10014,7 +10014,7 @@ ADE_FUNC(drawString, l_Graphics, "string Message, [number X1, number Y1, number
|
||||
int *linelengths = new int[MAX_TEXT_LINES];
|
||||
char **linestarts = new char*[MAX_TEXT_LINES];
|
||||
|
||||
int num_lines = split_str(s, x2-x, linelengths, linestarts, MAX_TEXT_LINES);
|
||||
num_lines = split_str(s, x2-x, linelengths, linestarts, MAX_TEXT_LINES);
|
||||
|
||||
//Make sure we don't go over size
|
||||
int line_ht = gr_get_font_height();
|
||||
|
||||
Reference in new issue
Block a user