This commit is contained in:
smanojna 2006-03-07 15:59:22 +00:00
parent 36e3a1ef20
commit c7cb705272

View File

@ -266,6 +266,12 @@ void GetDefaultWallet(char dwallet[100])
strcat(homedir, "/.kde/share/config/kwalletrc");
fs = fopen(homedir,"r");
//fs = fopen("/root/.kde/share/config/kwalletrc","r");
if(!fs)
{
strcpy(dwallet, "kdewallet");
return;
}
while(!feof(fs))
{
fgets(str,80,fs);