diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/po/sjiscorr.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/nvim/po/sjiscorr.c b/src/nvim/po/sjiscorr.c index 6976ed8b9e..bce3477b90 100644 --- a/src/nvim/po/sjiscorr.c +++ b/src/nvim/po/sjiscorr.c @@ -1,4 +1,11 @@ -__END_DECLS int main(int argc, char **argv) +// Simplistic program to correct SJIS inside strings. +// When a trail byte is a backslash it needs to be doubled. +// Public domain. + +#include <stdio.h> +#include <string.h> + +int main(int argc, char **argv) { char buffer[BUFSIZ]; char *p; |