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; i