mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 18:34:19 +00:00
replay: fix formatting string
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
434c6e1007
commit
f0acfbc639
@ -310,7 +310,7 @@ static void red_replay_rect_ptr(SpiceReplay *replay, const char *prefix, QXLRect
|
||||
{
|
||||
char template[1024];
|
||||
|
||||
snprintf(template, sizeof(template), "rect %s %%d %%d %%d %%d %%d", prefix);
|
||||
snprintf(template, sizeof(template), "rect %s %%d %%d %%d %%d\n", prefix);
|
||||
replay_fscanf(replay, template, &qxl->top, &qxl->left, &qxl->bottom, &qxl->right);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user