From b0d324f1a7465f14eb00473f3c9002d9810deb55 Mon Sep 17 00:00:00 2001 From: axel Date: Tue, 5 Feb 2008 09:09:45 +1000 Subject: [PATCH] Fix dumb error causing fish not to compile... darcs-hash:20080204230945-ac50b-a95529cf19c473f62b6104ae138cf8b8abcbd2ec.gz --- util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util.c b/util.c index 708b67f9f..c7192ad8c 100644 --- a/util.c +++ b/util.c @@ -1307,6 +1307,7 @@ int sb_vprintf( string_buffer_t *buffer, const wchar_t *format, va_list va_orig if( buffer->length - buffer->used > SB_MAX_SIZE ) { + wchar_t tmp=0; b_append( buffer, &tmp, sizeof(wchar_t) ); buffer->used -= sizeof(wchar_t); break;