No multiline string constants.

This commit is contained in:
espie 2003-12-29 20:23:55 +00:00
parent db775a40b8
commit a7ecbbc910
2 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,40 @@
$OpenBSD: patch-src_nap_c,v 1.1 2003/12/29 20:23:55 espie Exp $
--- src/nap.c.orig 2003-12-29 20:34:48.000000000 +0100
+++ src/nap.c 2003-12-29 20:35:21.000000000 +0100
@@ -542,21 +542,21 @@ int set_defaults_interactive(char *fn) {
if (!getval("connection")) {
if (!info.daemon) {
- wp(NULL, "
- Connection | Number
- -------------------
- Unknown | 0
- 14.4 | 1
- 28.8 | 2
- 33.6 | 3
- 56.7 | 4
- 64K ISDN | 5
- 128K ISDN | 6
- Cable | 7
- DSL | 8
- T1 | 9
- T3 or > | 10
-\n");
+ wp(NULL, "\n"
+" Connection | Number\n"
+" -------------------\n"
+" Unknown | 0\n"
+" 14.4 | 1\n"
+" 28.8 | 2\n"
+" 33.6 | 3\n"
+" 56.7 | 4\n"
+" 64K ISDN | 5\n"
+" 128K ISDN | 6\n"
+" Cable | 7\n"
+" DSL | 8\n"
+" T1 | 9\n"
+" T3 or > | 10\n"
+"\n");
wp(NULL, "How fast is your internet connection?\n");
wp(NULL, "Please choose 0--10 from the chart: [4] ");
ans = nap_getline(stdin);

View File

@ -0,0 +1,31 @@
$OpenBSD: patch-src_title_h,v 1.1 2003/12/29 20:23:55 espie Exp $
--- src/title.h.orig 2003-12-29 19:26:12.000000000 +0100
+++ src/title.h 2003-12-29 19:26:58.000000000 +0100
@@ -4,15 +4,15 @@
*/
char title[] =
-" _.-------._
- |\\ /|
- /| \\_.----._/ |\\ __
- .$: :$. _____ ____ _____ _____ / /__ ___ ____
- |$$: ___ ___ :$$| / __ // _ `// _ // ___// __// _ \\ / ___/
- \"$: \\___\\/___/ :$\" / / / // /_/ // /_/ /(__ )/ /_ / __// /
- | __ | /_/ /_/ \\__,_// ____//_____/ \\___/ \\___//_/mG!
- `. \\/ .' /_/
- `. .__, .'
- `----'
-
-";
+" _.-------._\n"
+" |\\ /|\n"
+" /| \\_.----._/ |\\ __\n"
+" .$: :$. _____ ____ _____ _____ / /__ ___ ____\n"
+" |$$: ___ ___ :$$| / __ // _ `// _ // ___// __// _ \\ / ___/\n"
+" \"$: \\___\\/___/ :$\" / / / // /_/ // /_/ /(__ )/ /_ / __// /\n"
+" | __ | /_/ /_/ \\__,_// ____//_____/ \\___/ \\___//_/mG!\n"
+" `. \\/ .' /_/\n"
+" `. .__, .'\n"
+" `----'\n"
+"\n"
+"";