Changeset 14160


Ignore:
Timestamp:
Aug 9, 2010, 5:38:45 PM (9 years ago)
Author:
rme
Message:

Don't crash when using the change text color contextual menu in
hemlock windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/cocoa-editor.lisp

    r13901 r14160  
    14811481         (styles (slot-value textstorage 'styles))
    14821482         (newcolor (#/color sender)))
    1483     (dotimes (i 4)
     1483    (dotimes (i (#/count styles))
    14841484      (let* ((dict (#/objectAtIndex: styles i)))
    14851485        (#/setValue:forKey: dict newcolor #&NSForegroundColorAttributeName)))
Note: See TracChangeset for help on using the changeset viewer.