aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_editor.h')
-rw-r--r--src/sc_editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sc_editor.h b/src/sc_editor.h
index 7efc03f..b2fd6a5 100644
--- a/src/sc_editor.h
+++ b/src/sc_editor.h
@@ -110,7 +110,8 @@ struct _sceditor
int visible_height;
int visible_width;
int flow;
- int scale;
+ int scale; /* Whether the SCEditor should scale to fit */
+ double view_scale; /* The scale factor, if scale=1 */
/* Pointers to the frame currently being edited */
struct frame *selection;