From 2d793ca674944241480f6939814e3f61d0a0e0fb Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 06 Dec 2003 16:21:35 +0000 Subject: fix display bug for usage column --- (limited to 'noncore') diff --git a/noncore/settings/sysinfo/modulesinfo.cpp b/noncore/settings/sysinfo/modulesinfo.cpp index 8def0d6..0bf51e8 100644 --- a/noncore/settings/sysinfo/modulesinfo.cpp +++ b/noncore/settings/sysinfo/modulesinfo.cpp @@ -112,6 +112,8 @@ void ModulesInfo::updateData() QListViewItem *newitem; QListViewItem *selecteditem = 0x0; while ( true ) { + modname[0] = '\0'; + usage[0] = '\0'; int success = fscanf( procfile, "%s%d%d%[^\n]", modname, &modsize, &usecount, usage ); if ( success == EOF ) -- cgit v0.9.0.2