aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-08-09 12:51:42 +1000
committerNeil <nyamatongwe@gmail.com>2013-08-09 12:51:42 +1000
commit227385917246e410723a9f68c5960053a932982f (patch)
tree83cf208d48149c48df77df0c914a6e356ef22879 /win32
parent6e5804b4ecfbfd0fe6ac4228c40ef121c96452ab (diff)
downloadscintilla-mirror-227385917246e410723a9f68c5960053a932982f.tar.gz
Move wrapping, edge and visual adjustments from Editor to ViewStyle.
Move printing parameters into a separate struct.
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index ab1723924..52f8fa4a1 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1393,7 +1393,7 @@ bool ScintillaWin::ModifyScrollBars(int nMax, int nPage) {
if (horizEndPreferred < 0)
horizEndPreferred = 0;
unsigned int pageWidth = rcText.Width();
- if (!horizontalScrollBarVisible || (wrapState != eWrapNone))
+ if (!horizontalScrollBarVisible || Wrapping())
pageWidth = horizEndPreferred + 1;
sci.fMask = SIF_PAGE | SIF_RANGE;
GetScrollInfo(SB_HORZ, &sci);