Changeset 7

Show
Ignore:
Timestamp:
11/30/06 21:25:13 (2 years ago)
Author:
lindquist
Message:

Fixed 'missing default statement in switch' warning in the sdialog2 sample.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/minwin/samples/sdialog2.d

    r5 r7  
    1414const char[] KEY = "result"; 
    1515 
    16 extern (C)  
     16extern (C) 
    1717int MinWinMain(Application* app) { 
    1818  Window win = new Window("window"); 
     
    3737    dlg.owner.title = "you hit cancel"; 
    3838    break; 
     39    default: assert(0); 
    3940      } 
    4041      // indicate a button was clicked