News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

"switch....case" is abnormal

Started by heliang6291, December 19, 2013, 03:47:54 PM

Previous topic - Next topic

heliang6291

when using "switch" and "case", the indentation is abnormal...
exp:
switch(uMsg)
{
    case WM_CREATE:
        ...
       return 0;

       case WM_SIZE:
         {
            ....
            return 0
         }
      }

TimoVJL

?????       case WM_SIZE:
         {
            ....
            return 0
         }
May the source be with you