mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
Avoid name clash.
svn path=/trunk/netsurf/; revision=12684
This commit is contained in:
parent
ca162211f5
commit
adbc2b0315
@ -136,10 +136,10 @@ void gui_window_redraw_window(struct gui_window *g)
|
||||
|
||||
void gui_window_update_box(struct gui_window *g, const struct rect *rect)
|
||||
{
|
||||
const NSRect rect = cocoa_scaled_rect_wh( [(BrowserViewController *)g browser]->scale,
|
||||
const NSRect nsrect = cocoa_scaled_rect_wh( [(BrowserViewController *)g browser]->scale,
|
||||
rect->x0, rect->y0,
|
||||
rect->x1 - rect->x0, rect->y1 - rect->y0 );
|
||||
[[(BrowserViewController *)g browserView] setNeedsDisplayInRect: rect];
|
||||
[[(BrowserViewController *)g browserView] setNeedsDisplayInRect: nsrect];
|
||||
}
|
||||
|
||||
bool gui_window_get_scroll(struct gui_window *g, int *sx, int *sy)
|
||||
|
Loading…
Reference in New Issue
Block a user