diff --git src/linebreak/linebreak.c src/linebreak/linebreak.c
index f9c88a1..6b0bf66 100644
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
18 | 18 | #include <config.h> |
19 | 19 | |
20 | 20 | /* Modification by David Bruce <davidstuartbruce@gmail.com> |
21 | | * to allow compilation under mingw-cross-env: |
| 21 | * to allow compilation under mingw-cross-env and OS-X: |
22 | 22 | */ |
23 | 23 | |
24 | | #if defined BUILD_MINGW32 && !defined ICONV_CONST |
| 24 | #ifndef ICONV_CONST |
25 | 25 | #define ICONV_CONST const |
26 | 26 | #endif |
27 | 27 | |
diff --git src/t4k_common.h src/t4k_common.h
index d4676e7..ef8bbd6 100644
|
|
MFStrategy; |
239 | 239 | #define MAX_LINES 128 //!< Maximum lines to wrap. |
240 | 240 | #define MAX_LINEWIDTH 256 //!< Maximum characters of each line. |
241 | 241 | |
242 | | char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines. |
| 242 | static char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines. |
243 | 243 | |
244 | 244 | //TODO separate headers for different areas a la SDL? |
245 | 245 | |
diff --git src/t4k_linewrap.c src/t4k_linewrap.c
index 5f80ad1..cfa7308 100644
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
32 | 32 | #include <stdio.h> |
33 | 33 | |
34 | 34 | static char wrapped_lines0[MAX_LINES][MAX_LINEWIDTH]; // for internal storage |
35 | | char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; // publicly available! |
| 35 | //char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; // publicly available! |
36 | 36 | |
37 | 37 | |
38 | 38 | |