Changeset 15061


Ignore:
Timestamp:
Nov 8, 2011, 4:54:38 PM (8 years ago)
Author:
gz
Message:

Fix crash on empty dir in search files

File:
1 edited

Legend:

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

    r14249 r15061  
    7676(defmethod folder-valid-p ((wc search-files-window-controller))
    7777  (let* ((nsstr (folder-string-value wc)))
    78     (when (and (typep nsstr ns:ns-string) (#/length nsstr))
     78    (when (and (typep nsstr ns:ns-string) (plusp (#/length nsstr)))
    7979      (let ((lstr (lisp-string-from-nsstring nsstr)))
    8080        (when (valid-host-p lstr)
Note: See TracChangeset for help on using the changeset viewer.