comparison win/dw.c @ 1581:a80ec948c3eb

Fixed a MinGW warning and updated the readme.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 25 Jan 2012 09:32:17 +0000
parents d6988022c5cf
children 71e0a3ad07f7
comparison
equal deleted inserted replaced
1580:a51397ea24bf 1581:a80ec948c3eb
4564 dw_mle_export(handle, buf, 0, (int)bytes); 4564 dw_mle_export(handle, buf, 0, (int)bytes);
4565 buf[bytes] = 0; 4565 buf[bytes] = 0;
4566 strcat(buf, "\n"); 4566 strcat(buf, "\n");
4567 4567
4568 /* MLE */ 4568 /* MLE */
4569 while(ptr = strstr(buf, "\n")) 4569 while((ptr = strstr(buf, "\n")))
4570 { 4570 {
4571 ptr[0] = 0; 4571 ptr[0] = 0;
4572 width = 0; 4572 width = 0;
4573 if(strlen(buf)) 4573 if(strlen(buf))
4574 dw_font_text_extents_get(handle, NULL, buf, &width, &height); 4574 dw_font_text_extents_get(handle, NULL, buf, &width, &height);