diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-11 16:10:42 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-11 16:10:42 +0300 |
commit | 1e8b17b775715edfc68157d9be6743109f65a71b (patch) | |
tree | 9680b21fed26866c1717bcf89f8ce38ec6047d52 /src/ui/paint.c | |
parent | a0ddbf089bacfe8b9852e77a3bfcfb452d288053 (diff) |
Document outline; jumping to clicked heading
Diffstat (limited to 'src/ui/paint.c')
-rw-r--r-- | src/ui/paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/paint.c b/src/ui/paint.c index 0a2e6cd3..85e75f15 100644 --- a/src/ui/paint.c +++ b/src/ui/paint.c | |||
@@ -18,7 +18,7 @@ void setClip_Paint(iPaint *d, iRect rect) { | |||
18 | SDL_RenderSetClipRect(renderer_Paint_(d), (const SDL_Rect *) &rect); | 18 | SDL_RenderSetClipRect(renderer_Paint_(d), (const SDL_Rect *) &rect); |
19 | } | 19 | } |
20 | 20 | ||
21 | void clearClip_Paint(iPaint *d) { | 21 | void unsetClip_Paint(iPaint *d) { |
22 | const SDL_Rect winRect = { 0, 0, d->dst->root->rect.size.x, d->dst->root->rect.size.y }; | 22 | const SDL_Rect winRect = { 0, 0, d->dst->root->rect.size.x, d->dst->root->rect.size.y }; |
23 | SDL_RenderSetClipRect(renderer_Paint_(d), &winRect); | 23 | SDL_RenderSetClipRect(renderer_Paint_(d), &winRect); |
24 | } | 24 | } |