Quellcode durchsuchen

* Forgot a test on Caca() instantiation

tags/v0.99.beta14
Jean-Yves Lamoureux jylam vor 19 Jahren
Ursprung
Commit
208cf461bc
1 geänderte Dateien mit 8 neuen und 4 gelöschten Zeilen
  1. +8
    -4
      cpp/cpptest.cpp

+ 8
- 4
cpp/cpptest.cpp Datei anzeigen

@@ -31,16 +31,20 @@ int main(int argc, char *argv[])
Caca::Event ev;

try {
qq = new Cucul();
qq = new Cucul();
}
catch (int e) {
cerr << "Error while initializing cucul (" << e << ")" << endl;
return -1;
}

kk = new Caca(qq);

try {
kk = new Caca(qq);
}
catch(int e) {
cerr << "Error while attaching cucul to caca (" << e << ")" << endl;
return -1;
}

qq->set_color(CUCUL_COLOR_LIGHTMAGENTA, CUCUL_COLOR_BLACK);



Laden…
Abbrechen
Speichern