Ignore:
Timestamp:
11/08/2007 06:55:28 PM (19 years ago)
Author:
David Owen <dsowen@…>
branch-nick:
tui-new
revision id:
dsowen@fugue88.ws-20071108185528-lwphx3dpc0341g6y
Message:

Changed SIGNAL to ERROR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/window/screen.lisp

    r29 r41  
    3131    `(let ((,ptr (initscr)))
    3232       (when (null-pointer-p ,ptr)
    33          (signal 'screen-initialization-error))
     33         (error 'screen-initialization-error))
    3434       (unwind-protect
    3535            (start-color)
     
    6464  (let ((ptr (derwin (window-pointer w) height width y x)))
    6565    (when (null-pointer-p ptr)
    66       (signal 'screen-window-creation-error))
     66      (error 'screen-window-creation-error))
    6767    (make-instance 'screen-window :ptr ptr)))
    6868
     
    7070  (with-slots (ptr) w
    7171    (when (= (delwin ptr) +err+)
    72       (signal 'screen-window-destruction-error)))
     72      (error 'screen-window-destruction-error)))
    7373  (values))
    7474
     
    7979    `(let ((,ptr (newwin ,height ,width ,y ,x)))
    8080       (when (null-pointer-p ,ptr)
    81          (signal 'screen-window-creation-error))
     81         (error 'screen-window-creation-error))
    8282       (let ((,window (make-instance 'screen-window :ptr ,ptr)))
    8383         (unwind-protect (progn ,@body)
Note: See TracChangeset for help on using the changeset viewer.