From fd4f9bc59fceb90d22e5b6b58fb450b736ddd15e Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Tue, 24 Apr 2007 08:59:59 +0000 Subject: [PATCH] From Mario79: updated jpegview git-svn-id: svn://kolibrios.org@470 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/media/jpegview/trunk/jpegview.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/media/jpegview/trunk/jpegview.asm b/programs/media/jpegview/trunk/jpegview.asm index 51273ae62a..c76d4e9b35 100644 --- a/programs/media/jpegview/trunk/jpegview.asm +++ b/programs/media/jpegview/trunk/jpegview.asm @@ -166,15 +166,16 @@ set_as_bgr2: mov ebp,dword[jpeg_st] test ebp,ebp jz .end - - mov dword [ebp+draw_ptr],put_chunk_to_bgr - call jpeg_display + mov eax, 15 mov ebx, 1 mov ecx, [ebp + x_size] mov edx, [ebp + y_size] int 0x40 + mov dword [ebp+draw_ptr],put_chunk_to_bgr + call jpeg_display + ; Stretch the image to fit mov eax, 15 mov ebx, 4