Changeset 4410


Ignore:
Timestamp:
Jun 23, 2010, 1:15:33 AM (9 years ago)
Author:
Alex Foulon
Message:
  • Fix bad condition.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/python/caca/canvas.py

    r4409 r4410  
    6666        _lib.caca_create_canvas.argtypes = [ctypes.c_int, ctypes.c_int]
    6767
    68         if pointer is not None:
     68        if pointer is None:
    6969            self._cv = _lib.caca_create_canvas(width, height)
    7070            if self._cv == 0:
Note: See TracChangeset for help on using the changeset viewer.