1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-25 18:58:25 +02:00

Initalize buffer.

This commit is contained in:
Lars-Peter Clausen 2010-05-03 23:56:15 +02:00
parent c9c915c892
commit 09999edc27

View File

@ -1889,6 +1889,7 @@ int GMenu2X::getVolumeScaler() {
const string &GMenu2X::getExePath() {
if (path.empty()) {
char buf[255];
memset(buf, 0, 255);
int l = readlink("/proc/self/exe", buf, 255);
path = buf;