about summary refs log tree commit diff
path: root/Src/prompt.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-06-26 06:01:47 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-06-26 06:01:47 +0000
commit563fbed02c1fc4bdf43f261548a2c3f47a426ed2 (patch)
treed07b3c171b0f1ec71ddcb8db027d752edc60feca /Src/prompt.c
parentcbf446701561ca5c14a7ca23ae51ac59b984a1ea (diff)
downloadzsh-563fbed02c1fc4bdf43f261548a2c3f47a426ed2.tar.gz
zsh-563fbed02c1fc4bdf43f261548a2c3f47a426ed2.tar.xz
zsh-563fbed02c1fc4bdf43f261548a2c3f47a426ed2.zip
More merges: 14973,14976, and some whitespace.
Diffstat (limited to 'Src/prompt.c')
-rw-r--r--Src/prompt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Src/prompt.c b/Src/prompt.c
index eb79c7e85..d5df9d1ce 100644
--- a/Src/prompt.c
+++ b/Src/prompt.c
@@ -517,12 +517,12 @@ putpromptchar(int doprint, int endchar)
 		if (*ttystrname) {
                    ss = (strncmp(ttystrname, "/dev/tty", 8) ?
                            ttystrname + 5 : ttystrname + 8);
-                   stradd(ss);
-               } else
-                   stradd("()");
-               break;
-           case 'y':
-               if (*ttystrname) {
+		    stradd(ss);
+		} else
+		    stradd("()");
+		break;
+	    case 'y':
+		if (*ttystrname) {
 		    ss = (strncmp(ttystrname, "/dev/", 5) ?
 			    ttystrname : ttystrname + 5);
 		    stradd(ss);