1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-02 06:40:55 +01:00

20331: Use internal zlong variables for consistency

20332: Add WIDGETSTYLE zle parameter
This commit is contained in:
Peter Stephenson 2004-09-09 10:12:42 +00:00
parent 65bbf722d9
commit 6b1dc0f701
9 changed files with 130 additions and 68 deletions

View file

@ -384,7 +384,7 @@ putpromptchar(int doprint, int endchar)
case 'h':
case '!':
addbufspc(DIGBUFSIZE);
sprintf(bp, "%d", curhist);
convbase(bp, curhist, 10);
bp += strlen(bp);
break;
case 'j':
@ -676,7 +676,7 @@ putpromptchar(int doprint, int endchar)
pputc('!');
} else {
addbufspc(DIGBUFSIZE);
sprintf(bp, "%d", curhist);
convbase(bp, curhist, 10);
bp += strlen(bp);
}
}