diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-09-06 23:01:15 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-09-06 23:01:15 +0200 |
commit | a4fc5fe56ad4861c9345f003bdd1d7822f756b08 (patch) | |
tree | c8ed0195d1d43adbd5aa520692fb2c9a03dc8b46 /src/mainwindow.c | |
parent | ca730b236f848f22a138435c4a645c15e0c5e6ea (diff) |
Allow "fit" as a size parameter for images
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 0830b02..8783acc 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1828,7 +1828,7 @@ static void dnd_receive(GtkWidget *widget, GdkDragContext *drag_context, fprintf(stderr, "Failed to allocate SC\n"); return; } - snprintf(sc, len, "\\image[%ix%i]{%s}", w, h, filename); + snprintf(sc, len, "\\image[fitxfit]{%s}", filename); fr = create_frame(p, p->start_corner_x, p->start_corner_y, w, h); |