Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
4f6bd04f
Commit
4f6bd04f
authored
Nov 12, 2015
by
Sebastian Ramacher
Browse files
Move MIN and MAX
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
10853380
Changes
2
Hide whitespace changes
Inline
Side-by-side
zathura/macros.h
View file @
4f6bd04f
...
...
@@ -8,4 +8,12 @@
#define UNUSED(x) GIRARA_UNUSED(x)
#define DEPRECATED(x) GIRARA_DEPRECATED(x)
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
#endif
zathura/shortcuts.c
View file @
4f6bd04f
...
...
@@ -20,14 +20,6 @@
#include "adjustment.h"
#include <math.h>
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
/* Helper function; see sc_display_link and sc_follow. */
static
bool
draw_links
(
zathura_t
*
zathura
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment