aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 1d7f57b05..2fcaca3a5 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -172,7 +172,7 @@ public:
// Setting styles for positions outside the range of the buffer is safe and has no effect.
// True is returned if the style of a character changed.
- bool SetStyleAt(int position, char style, char mask=(char)0xff);
+ bool SetStyleAt(int position, char style, char mask='\377');
bool SetStyleFor(int position, int length, char style, char mask);
const char *DeleteChars(int position, int deleteLength);