Browse Source

* Fixed a segfault in the C++ bindings. Vieux porc !

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
a72d5736e0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cpp/caca++.cpp
  2. +1
    -1
      cpp/caca++.h

+ 1
- 1
cpp/caca++.cpp View File

@@ -81,7 +81,7 @@ int Caca::set_display_title(char const *s)

int Caca::get_event(unsigned int g, Event *n, int aa)
{
return caca_get_event(dp, g, n->e, aa);
return caca_get_event(dp, g, &n->e, aa);
}

unsigned int Caca::get_mouse_x()


+ 1
- 1
cpp/caca++.h View File

@@ -46,7 +46,7 @@ class Event
} type;

protected:
caca_event *e;
caca_event e;
};

class Caca


Loading…
Cancel
Save