aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2011-03-05 18:52:45 -0500
committerChong Yidong2011-03-05 18:52:45 -0500
commit04cb68403d7a94e08a08821942cbc6da6494467a (patch)
tree656bde1adb2301df304ea44880b5cb3855188d2e /src
parentabec51268e66a11aceac63c57ae2b62c183248c0 (diff)
downloademacs-04cb68403d7a94e08a08821942cbc6da6494467a.tar.gz
emacs-04cb68403d7a94e08a08821942cbc6da6494467a.zip
* nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/nsterm.m3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e07b74a35ee..57a2b618d63 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-03-05 Chong Yidong <cyd@stupidchicken.com>
2
3 * nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.
4
12011-03-02 Ken Brown <kbrown@cornell.edu> 52011-03-02 Ken Brown <kbrown@cornell.edu>
2 6
3 * sheap.c (STATIC_HEAP_SIZE): Increase to 13MB. 7 * sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
diff --git a/src/nsterm.m b/src/nsterm.m
index 4c47e65dc96..9237205a0f4 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2283,8 +2283,7 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row,
2283 if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR) 2283 if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR)
2284 { 2284 {
2285 if (cursor_width < 0) 2285 if (cursor_width < 0)
2286 cursor_width = FRAME_CURSOR_WIDTH (f); 2286 cursor_width = max (FRAME_CURSOR_WIDTH (f), 1);
2287 cursor_width = min (cursor_width, 1);
2288 w->phys_cursor_width = cursor_width; 2287 w->phys_cursor_width = cursor_width;
2289 } 2288 }
2290 2289