about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-07-24 04:54:54 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-07-24 04:54:54 +0000
commitc71813ef45d30805f173ea8ff46ac02800cc8ef1 (patch)
tree9e66cf6676ab74de889d386a66041b3cb6128876
parent17b224a549db18d2e60ae20c82cdcf72b4effd06 (diff)
downloadzsh-c71813ef45d30805f173ea8ff46ac02800cc8ef1.tar.gz
zsh-c71813ef45d30805f173ea8ff46ac02800cc8ef1.tar.xz
zsh-c71813ef45d30805f173ea8ff46ac02800cc8ef1.zip
Added missing "goto" in handling of 'c' escape (fix from
Thorsten Dahlheimer).
-rw-r--r--Src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/utils.c b/Src/utils.c
index eb6edf719..787f775b7 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -3578,6 +3578,7 @@ getkeystring(char *s, int *len, int fromwhere, int *misc)
 		    *t++ = '\\', s--;
 		    continue;
 		}
+		/* FALL THROUGH */
 	    case 'e':
 		*t++ = '\033';
 		break;
@@ -3611,6 +3612,7 @@ getkeystring(char *s, int *len, int fromwhere, int *misc)
 		    *misc = 1;
 		    break;
 		}
+		goto def;
 	    case 'u':
 	    case 'U':
 	    	wval = 0;