Mercurial > dwindows
comparison os2/dw.c @ 526:d3ce0afa6cf5
Remove extraneous arguments to dw_messagebox()
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 23 Mar 2004 10:10:27 +0000 |
parents | b2065b0c39c1 |
children | e0ea29c3d1eb |
comparison
equal
deleted
inserted
replaced
525:2ff26b697877 | 526:d3ce0afa6cf5 |
---|---|
5172 * If you try and pack an item into itself VERY bad things can happen; like at least an | 5172 * If you try and pack an item into itself VERY bad things can happen; like at least an |
5173 * infinite loop on GTK! Lets be safe! | 5173 * infinite loop on GTK! Lets be safe! |
5174 */ | 5174 */ |
5175 if(box == item) | 5175 if(box == item) |
5176 { | 5176 { |
5177 dw_messagebox(funcname, DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!",box,item); | 5177 dw_messagebox(funcname, DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!"); |
5178 return; | 5178 return; |
5179 } | 5179 } |
5180 | 5180 |
5181 if(WinWindowFromID(box, FID_CLIENT)) | 5181 if(WinWindowFromID(box, FID_CLIENT)) |
5182 { | 5182 { |
7949 * If you try and pack an item into itself VERY bad things can happen; like at least an | 7949 * If you try and pack an item into itself VERY bad things can happen; like at least an |
7950 * infinite loop on GTK! Lets be safe! | 7950 * infinite loop on GTK! Lets be safe! |
7951 */ | 7951 */ |
7952 if(box == item) | 7952 if(box == item) |
7953 { | 7953 { |
7954 dw_messagebox(funcname, DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!",box,item); | 7954 dw_messagebox(funcname, DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!"); |
7955 return; | 7955 return; |
7956 } | 7956 } |
7957 | 7957 |
7958 if(WinWindowFromID(box, FID_CLIENT)) | 7958 if(WinWindowFromID(box, FID_CLIENT)) |
7959 { | 7959 { |