projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: modernize-macro-to-enum
[geeqie.git]
/
src
/
pixbuf-util.cc
diff --git
a/src/pixbuf-util.cc
b/src/pixbuf-util.cc
index
c2780e2
..
4a140c5
100644
(file)
--- a/
src/pixbuf-util.cc
+++ b/
src/pixbuf-util.cc
@@
-452,8
+452,10
@@
static void pixbuf_copy_block(guchar *src, gint src_row_stride, gint w, gint h,
}
}
-#define ROTATE_BUFFER_WIDTH 48
-#define ROTATE_BUFFER_HEIGHT 48
+enum {
+ ROTATE_BUFFER_WIDTH = 48,
+ ROTATE_BUFFER_HEIGHT = 48
+};
/*
* Returns a copy of pixbuf src rotated 90 degrees clockwise or 90 counterclockwise