summaryrefslogtreecommitdiffstats
path: root/tderandr/randr.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-08-07 22:05:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-08 00:41:23 +0900
commitce064fcb0190ef4b753668489a62f1e84d93c9a9 (patch)
tree1111e61b0e74d0fd32cf02dcf2f833474cc1fd1b /tderandr/randr.cpp
parent40d566dff5ed6c36ddfff3c0193564fc801ae369 (diff)
downloadtdelibs-ce064fcb0190ef4b753668489a62f1e84d93c9a9.tar.gz
tdelibs-ce064fcb0190ef4b753668489a62f1e84d93c9a9.zip
Improved code for tderandr rotation string to allow translation in tdebase. This relates to issue #96.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderandr/randr.cpp')
-rw-r--r--tderandr/randr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tderandr/randr.cpp b/tderandr/randr.cpp
index c72dcd651..d00641154 100644
--- a/tderandr/randr.cpp
+++ b/tderandr/randr.cpp
@@ -63,7 +63,7 @@ SingleScreenData::SingleScreenData()
gamma_green = 0.0;
gamma_blue = 0.0;
- current_rotation_index = 0;
+ current_rotation_index = ROTATION_0_DEGREES_INDEX;
current_orientation_mask = 0;
has_x_flip = false;
has_y_flip = false;