Mercurial > dwindows
comparison os2/dw.c @ 1078:6eadfe0007b4
Fixed erroneously named variables for the message boxes on OS/2.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 28 Jun 2011 04:47:41 +0000 |
parents | 34f1d6f5f1c3 |
children | 5a951cfd67ad |
comparison
equal
deleted
inserted
replaced
1077:34f1d6f5f1c3 | 1078:6eadfe0007b4 |
---|---|
6049 if(strncmp(tmpbuf, "#1", 3)==0) | 6049 if(strncmp(tmpbuf, "#1", 3)==0) |
6050 tmpitem[index].type = TYPEBOX; | 6050 tmpitem[index].type = TYPEBOX; |
6051 else | 6051 else |
6052 { | 6052 { |
6053 if ( width == 0 && hsize == FALSE ) | 6053 if ( width == 0 && hsize == FALSE ) |
6054 dw_messagebox(functionname, DW_MB_OK|DW_MB_ERROR, "Width and expand Horizonal both unset for box: %x item: %x",box,item); | 6054 dw_messagebox(funcname, DW_MB_OK|DW_MB_ERROR, "Width and expand Horizonal both unset for box: %x item: %x",box,item); |
6055 if ( height == 0 && vsize == FALSE ) | 6055 if ( height == 0 && vsize == FALSE ) |
6056 dw_messagebox(functionname, DW_MB_OK|DW_MB_ERROR, "Height and expand Vertical both unset for box: %x item: %x",box,item); | 6056 dw_messagebox(funcname, DW_MB_OK|DW_MB_ERROR, "Height and expand Vertical both unset for box: %x item: %x",box,item); |
6057 | 6057 |
6058 tmpitem[index].type = TYPEITEM; | 6058 tmpitem[index].type = TYPEITEM; |
6059 } | 6059 } |
6060 | 6060 |
6061 tmpitem[index].hwnd = item; | 6061 tmpitem[index].hwnd = item; |