projects
/
inform.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to Inform v6.42
[inform.git]
/
src
/
chars.c
diff --git
a/src/chars.c
b/src/chars.c
index 701d14eec585e2689bb10a5f925d77d1ac2cc357..2d4e21bac580670a44eae410f2fa1f322b49c441 100644
(file)
--- a/
src/chars.c
+++ b/
src/chars.c
@@
-1,9
+1,8
@@
/* ------------------------------------------------------------------------- */
/* "chars" : Character set mappings and the Z-machine alphabet table */
/* */
/* ------------------------------------------------------------------------- */
/* "chars" : Character set mappings and the Z-machine alphabet table */
/* */
-/* Copyright (c) Graham Nelson 1993 - 2020 */
-/* */
-/* This file is part of Inform. */
+/* Part of Inform 6.42 */
+/* copyright (c) Graham Nelson 1993 - 2024 */
/* */
/* Inform is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* */
/* Inform is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
@@
-336,8
+335,9
@@
static void read_source_to_iso_file(uchar *uccg)
/* */
/* 00 remains 0 (meaning "end of file") */
/* TAB becomes SPACE */
/* */
/* 00 remains 0 (meaning "end of file") */
/* TAB becomes SPACE */
+/* 0a remains '\n' */
/* 0c ("form feed") becomes '\n' */
/* 0c ("form feed") becomes '\n' */
-/* 0d
becomes '\n
' */
+/* 0d
remains '\r
' */
/* other control characters become '?' */
/* 7f becomes '?' */
/* 80 to 9f become '?' */
/* other control characters become '?' */
/* 7f becomes '?' */
/* 80 to 9f become '?' */
@@
-360,7
+360,7
@@
static void make_source_to_iso_grid(void)
for (n=1; n<32; n++) source_to_iso_grid[n] = '?';
source_to_iso_grid[10] = '\n';
source_to_iso_grid[12] = '\n';
for (n=1; n<32; n++) source_to_iso_grid[n] = '?';
source_to_iso_grid[10] = '\n';
source_to_iso_grid[12] = '\n';
- source_to_iso_grid[13] = '\
n
';
+ source_to_iso_grid[13] = '\
r
';
source_to_iso_grid[127] = '?';
source_to_iso_grid[TAB_CHARACTER] = ' ';
source_to_iso_grid[127] = '?';
source_to_iso_grid[TAB_CHARACTER] = ' ';