1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtmail: fix extra format args warnings

This commit is contained in:
Jon Trulson 2019-10-15 21:22:11 -06:00
parent a38f72c0c8
commit ab863f212d

View file

@ -371,7 +371,7 @@ RoamMenuWindow::restoreSession(char *buf)
fp, "%s%s%d%d%d%d%d",
buf,workspaces,&iconic,&x,&y,&width,&height) != 7)
{
fscanf(fp,"[\n]",buf);
fscanf(fp,"%s[\n]",buf);
LOG_CLOSEFILEPTR(log);
return NULL;
}
@ -592,7 +592,7 @@ SendMsgDialog::restoreSession(char *buf)
fp, "%s%s%d%d%d%d%d",
buf,workspaces,&iconic,&x,&y,&width,&height) != 7)
{
fscanf(fp,"[\n]",buf);
fscanf(fp,"%s[\n]",buf);
LOG_CLOSEFILEPTR(log);
return;
}