summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/preview.h')
-rw-r--r--gtk/src/preview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/preview.h b/gtk/src/preview.h
index f89e4f335..089d60d1c 100644
--- a/gtk/src/preview.h
+++ b/gtk/src/preview.h
@@ -16,7 +16,7 @@
#if !defined(_GHB_PREVIEW_H_)
#define _GHB_PREVIEW_H_
-#define MOD_ROUND(v,m) ((m==1)?v:(m * ((v + (m>>1) - 1) / m)))
+#define MOD_ROUND(v,m) ((m==1)?v:(m * ((v + (m>>1)) / m)))
#define MOD_DOWN(v,m) (m * (v / m))
#define MOD_UP(v,m) (m * ((v + m - 1) / m))