diff options
author | Ole Loots <ole@monochrom.net> | 2011-06-25 19:40:31 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2011-06-25 19:40:31 +0000 |
commit | b897861cdd0e4147e2922951cfbe77f0ad24ed23 (patch) | |
tree | 243456da8afdc0d467cb6696a5cd14d0b1493dd0 /atari/toolbar.c | |
parent | d6f5cead52acd23748c48ab16dff94a3d46b6a6b (diff) | |
download | netsurf-b897861cdd0e4147e2922951cfbe77f0ad24ed23.tar.gz netsurf-b897861cdd0e4147e2922951cfbe77f0ad24ed23.tar.bz2 |
avoid usage of uninitialized variable.
svn path=/trunk/netsurf/; revision=12509
Diffstat (limited to 'atari/toolbar.c')
-rwxr-xr-x | atari/toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c index 868867e11..e002bfbed 100755 --- a/atari/toolbar.c +++ b/atari/toolbar.c @@ -275,7 +275,7 @@ void __CDECL evnt_url_redraw( COMPONENT *c, long buff[8] ) short vqw[4];
char t[2];
short cw = 0;
-
+ t[0]=tb->url.text[0];
t[1]=0;
if( atari_sysinfo.sfont_monospaced ) {
vqt_width( vdih, t[0], &vqw[0], &vqw[1], &vqw[2] );
|