Fix a segfault in wimenu when doing a history dump
Fix a segfault in wimenu when doing a history dump

rvedam/wmii,jerluc/wmii,wingyplus/wmii,sigmavirus24/wmii,darkfeline/wmii,sigmavirus24/wmii,sigmavirus24/wmii,sigmavirus24/wmii,Sirikid/wmii,rvedam/wmii,wingyplus/wmii,rvedam/wmii,jerluc/wmii,darkfeline/wmii,jerluc/wmii,jerluc/wmii,Sirikid/wmii,sigmavirus24/wmii,jerluc/wmii,wingyplus/wmii,darkfeline/wmii,darkfeline/wmii,wingyplus/wmii,wingyplus/wmii,darkfeline/wmii,Sirikid/wmii,Sirikid/wmii,Sirikid/wmii,rvedam/wmii,rvedam/wmii