This commit is contained in:
parent
36e3a1ef20
commit
c7cb705272
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user