![]() |
|
Bug? |
7cardcha
Member #13,747
November 2011
|
I was testing the Allegro Configuration methods and I came across this. Probably something stupid on my part, but I can't figure it out. if(!al_get_config_value(config, "", "Exist")) { cout << al_get_config_value(config, "", "Exist") << endl; logger.log("Configuration file is malformed. Recreating."); } cout << "Test." << endl; The "Test" never gets printed. If I comment out the second line of the if statement it does though. Why does this cause cout to fail? |
Elias
Member #358
May 2000
|
Run it in a debugger and see why that statement is not reached. -- |
Dizzy Egg
Member #10,824
March 2009
![]() |
If I had to guess, which I do, I would say: logger.log() is causing the issue....what happens in logger.log()?
---------------------------------------------------- |
|