summaryrefslogtreecommitdiff
path: root/libspectre
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-02-21 17:49:05 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2010-02-21 17:49:05 +0100
commit6dc6c41ba977e8bee0fd71f3db4c3c92287ee71f (patch)
tree475653a9fa922694263c41035a35e1873867dc2b /libspectre
parent51c6a92e7bf7261a19eb1d9e776ce11957c213c4 (diff)
Fix compile warning
Diffstat (limited to 'libspectre')
-rw-r--r--libspectre/spectre-render-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libspectre/spectre-render-context.c b/libspectre/spectre-render-context.c
index f7a1dc9..8a0d224 100644
--- a/libspectre/spectre-render-context.c
+++ b/libspectre/spectre-render-context.c
@@ -89,7 +89,7 @@ spectre_render_context_set_rotation (SpectreRenderContext *rc,
rotation %= 360;
- if (rotation >= 0 && rotation < 90)
+ if (rotation < 90)
rc->orientation = SPECTRE_ORIENTATION_PORTRAIT;
else if (rotation >= 90 && rotation < 180)
rc->orientation = SPECTRE_ORIENTATION_LANDSCAPE;