summaryrefslogtreecommitdiffstats
path: root/libraries/t4k_common/wrapped_lines.patch
diff options
context:
space:
mode:
author Dave Woodfall <dave@slackbuilds.org>2022-03-04 09:50:40 +0000
committer Dave Woodfall <dave@slackbuilds.org>2022-03-04 09:50:40 +0000
commite69e3bd03d5fca953d21a37fc659f0379ab4a5c0 (patch)
tree8c8c976f24b8a2454c9975709111cd9b511033d4 /libraries/t4k_common/wrapped_lines.patch
parentfbfee76567e710a4ebe2e585c476c9d2f64830e3 (diff)
downloadslackbuilds-e69e3bd03d5fca953d21a37fc659f0379ab4a5c0.tar.gz
slackbuilds-e69e3bd03d5fca953d21a37fc659f0379ab4a5c0.tar.xz
libraries/t4k_common: Wrapped lines patch.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'libraries/t4k_common/wrapped_lines.patch')
-rw-r--r--libraries/t4k_common/wrapped_lines.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/t4k_common/wrapped_lines.patch b/libraries/t4k_common/wrapped_lines.patch
new file mode 100644
index 0000000000..be3937f755
--- /dev/null
+++ b/libraries/t4k_common/wrapped_lines.patch
@@ -0,0 +1,13 @@
+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?
+