summaryrefslogtreecommitdiff
path: root/bin/ksh/var.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-28 21:28:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-28 21:28:23 +0000
commit4e63f1bcc0ba4da4985d5da15a9f28f8d4eba961 (patch)
treeb4e7d1eabc575b509ebbe559be3338f48034ea85 /bin/ksh/var.c
parentd06dd80c342c99af51157fd86c5aa44fa5500551 (diff)
spacing
Diffstat (limited to 'bin/ksh/var.c')
-rw-r--r--bin/ksh/var.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/var.c b/bin/ksh/var.c
index 95d9c133508..d229b766096 100644
--- a/bin/ksh/var.c
+++ b/bin/ksh/var.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: var.c,v 1.23 2005/02/02 07:53:01 otto Exp $ */
+/* $OpenBSD: var.c,v 1.24 2005/03/28 21:28:22 deraadt Exp $ */
#include "sh.h"
#include <time.h>
@@ -426,12 +426,12 @@ getint(struct tbl *vp, long int *nump, bool arith)
num = 0;
neg = 0;
if (arith && *s == '0' && *(s+1)) {
- s++;
+ s++;
if (*s == 'x' || *s == 'X') {
- s++;
+ s++;
base = 16;
} else
- base = 8;
+ base = 8;
have_base++;
}
for (c = *s++; c ; c = *s++) {