tFix typo - flashcards - Stupid LaTeX flashcard viewer
HTML git clone git://lumidify.org/flashcards.git
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit fad92ea274a9800a3892636599c64cc2d59f2a76
DIR parent 06cb6bb4bc4937f472ecf4ae0702b464c92b6588
HTML Author: lumidify <nobody@lumidify.org>
Date: Thu, 9 Apr 2020 09:53:10 +0200
Fix typo
Diffstat:
M viewer2.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/viewer2.pl b/viewer2.pl
t@@ -88,7 +88,7 @@ sub load_images_front {
my ($fmt, $w, $h) = Gtk2::Gdk::Pixbuf->get_file_info("cache/${card_id}_front1.png");
$w = $w < $window_w ? $w : $window_w;
my $pixbuf1 = Gtk2::Gdk::Pixbuf->new_from_file_at_size("cache/${card_id}_front1.png", $w, -1);
- ($fmt, $w, $h) = Gtk2::Gdk::Pixbuf->get_file_info("cache/${card_id}_front1.png");
+ ($fmt, $w, $h) = Gtk2::Gdk::Pixbuf->get_file_info("cache/${card_id}_front2.png");
$w = $w < $window_w ? $w : $window_w;
my $pixbuf2 = Gtk2::Gdk::Pixbuf->new_from_file_at_size("cache/${card_id}_front2.png", $w, -1);
$image_front1->set_from_pixbuf($pixbuf1);