Parent Directory
|
Revision Log
|
Patch
revision 181 by twoaday, Tue Mar 14 11:01:22 2006 UTC | revision 193 by twoaday, Sat Apr 1 12:36:35 2006 UTC | |
---|---|---|
# | Line 243 safe_edit_control_free (HWND dlg, int ct | Line 243 safe_edit_control_free (HWND dlg, int ct |
243 | UINT | UINT |
244 | SafeGetDlgItemText (HWND dlg, int id, char *buf, int buflen) | SafeGetDlgItemText (HWND dlg, int id, char *buf, int buflen) |
245 | { | { |
246 | /* XXX: use memset (buf, 0, buflen)? */ | memset (buf, 0, buflen); |
247 | SendDlgItemMessage (dlg, id, WM_SAFE_GETTEXT, (WPARAM)buf, (LPARAM)buflen); | SendDlgItemMessage (dlg, id, WM_SAFE_GETTEXT, (WPARAM)buf, (LPARAM)buflen); |
248 | return strlen (buf); | return strlen (buf); |
249 | } | } |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |