From 6a00fc624a51aba072a46090d91b2bb157e9365d Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 26 Mar 2020 02:22:41 +0000 Subject: [PATCH] compress animage graphics, webview fix git-svn-id: svn://kolibrios.org@7754 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/TWB/anchors.h | 1 - programs/cmm/browser/WebView.c | 2 +- programs/cmm/lib/draw_buf.h | 5 +++-- programs/demos/firework/trunk/firework.asm | 2 +- programs/media/animage/trunk/panel_zoom.png | Bin 230 -> 196 bytes 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/cmm/TWB/anchors.h b/programs/cmm/TWB/anchors.h index a7a51858d7..98f5972be1 100644 --- a/programs/cmm/TWB/anchors.h +++ b/programs/cmm/TWB/anchors.h @@ -1,6 +1,5 @@ struct _anchors { - char current_anchor_name[100]; collection anchor_name; collection anchor_position; void add(); diff --git a/programs/cmm/browser/WebView.c b/programs/cmm/browser/WebView.c index b14783cfae..6a867fdf45 100644 --- a/programs/cmm/browser/WebView.c +++ b/programs/cmm/browser/WebView.c @@ -489,7 +489,7 @@ void ProcessAnchor() dword anchor_pos; anchor_pos = strrchr(#URL, '#')-1; - strlcpy(#anchors.current_anchor_name, #URL+anchor_pos, sizeof(anchor)-1); + strlcpy(#anchor, #URL+anchor_pos, sizeof(anchor)-1); URL[anchor_pos] = 0x00; if (URL[0] == NULL) { diff --git a/programs/cmm/lib/draw_buf.h b/programs/cmm/lib/draw_buf.h index f33a0e272f..f3ff69eea7 100644 --- a/programs/cmm/lib/draw_buf.h +++ b/programs/cmm/lib/draw_buf.h @@ -50,8 +50,9 @@ void DrawBufer::Fill(dword start_pointer, i_fill_color) { dword i; dword max_i = bufw * bufh * 4 + buf_data + 8; - fill_color = i_fill_color; - for (i=buf_data+start_pointer+8; iX!z(6Vx0h1vRHV!hBpee6b zty;B!G>Z}TGO~i%tVlKnfW;laBw^cEk!L$2*cKM3Paz@*HVagQa@z@qJR_2gtf9!^ zPg}pUiaK|r+A)`|O000R9 LNkvXXu0mjfBrjl2K->yP@aDf# zT5L&v8U!oa_Jq002ovPDHLkV1obbO{)L^