diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-28 23:02:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-28 23:02:20 +0000 |
commit | 75a975a61ffa107a74828b9198b1b9e491fd4a85 (patch) | |
tree | 361b4dd61cb33bea9fa69e95fc37eb3155a6337e /app-editors/nano | |
parent | fix SRC_URIs 'n cleanup (diff) | |
download | historical-75a975a61ffa107a74828b9198b1b9e491fd4a85.tar.gz historical-75a975a61ffa107a74828b9198b1b9e491fd4a85.tar.bz2 historical-75a975a61ffa107a74828b9198b1b9e491fd4a85.zip |
really fix WS_CONVERT
Diffstat (limited to 'app-editors/nano')
-rw-r--r-- | app-editors/nano/files/1.2.2-wsconvert.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/nano/files/1.2.2-wsconvert.patch b/app-editors/nano/files/1.2.2-wsconvert.patch index bfb0e6f0f9b4..ef7fb23487f6 100644 --- a/app-editors/nano/files/1.2.2-wsconvert.patch +++ b/app-editors/nano/files/1.2.2-wsconvert.patch @@ -160,7 +160,7 @@ diff -ur work.orig/nano-1.2.2/winio.c work/nano-1.2.2/winio.c - if (*original == '\t') - do { + if (*original == '\t') { -+ converted[pos++] = (ISSET(WS_CONVERT) ? tabconvert : ' '); ++ converted[pos++] = /*(ISSET(WS_CONVERT) ?*/ tabconvert /*: ' ')*/; + while (pos % tabsize) converted[pos++] = ' '; - } while (pos % tabsize); @@ -174,7 +174,7 @@ diff -ur work.orig/nano-1.2.2/winio.c work/nano-1.2.2/winio.c converted[pos++] = *original + 64; } else - converted[pos++] = *original; -+ converted[pos++] = (*original==' '&&ISSET(WS_CONVERT)) ? spaceconvert : *original; ++ converted[pos++] = (*original==' '/*&&ISSET(WS_CONVERT)*/) ? spaceconvert : *original; } converted[pos] = '\0'; |