I found another thing:

If I use
Code:
PANEL *TempPanel = pan_create(...);

inside a fuction
LED marks TempPanel (and every following TempPanel.flags, etc) as wrong


If I use
Code:
PANEL *TempPanel;
TempPanel = pan_create(...);

It works

EDIT: wieso zum teufel poste ich eig auf englisch -.-

Last edited by Kartoffel; 06/10/12 12:14.

POTATO-MAN saves the day! - Random