Changeset 543

Show
Ignore:
Timestamp:
10/14/07 15:40:21 (1 year ago)
Author:
anthony_rowe
Message:

tighten up that string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/projects/camscripter/csmsg.c

    r534 r543  
    295295 */ 
    296296void send_image_info_msg(image_info_pkt_t* info) { 
    297     char txt[100]; // should be plenty 
     297    char txt[64]; // should be plenty 
    298298    sprintf(txt, "R,G,B:(%d,%d,%d) Average in area:(%d,%d,%d)",  
    299299            info->r, info->g, info->b, info->avg_r, info->avg_g, info->avg_b, info->x, info->y); 
  • trunk/projects/camscripter/lualib.c

    r534 r543  
    576576    cc3_get_pixel(&img, x, 0, pixel); // only one row 
    577577    free(img.pix); 
     578 
    578579    return 0; 
    579580}