t4kcommon/t4kcommon-0.1.1-wrapped_lines.patch

14 lines
515 B
Diff

diff --git a/src/t4k_common.h b/src/t4k_common.h
index d4676e7..27e635c 100644
--- a/src/t4k_common.h
+++ b/src/t4k_common.h
@@ -239,7 +239,7 @@ MFStrategy;
#define MAX_LINES 128 //!< Maximum lines to wrap.
#define MAX_LINEWIDTH 256 //!< Maximum characters of each line.
-char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
+extern char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
//TODO separate headers for different areas a la SDL?