Enlightenment CVS committal Author : gilbertt Project : misc Module : camE
Dir : misc/camE Modified Files: webcam.c Log Message: scale bugfix =================================================================== RCS file: /cvsroot/enlightenment/misc/camE/webcam.c,v retrieving revision 1.70 retrieving revision 1.71 diff -u -3 -r1.70 -r1.71 --- webcam.c 25 Feb 2004 12:01:45 -0000 1.70 +++ webcam.c 25 Jun 2004 06:49:51 -0000 1.71 @@ -1,9 +1,6 @@ /* * (c) 1998-2000 Gerd Knorr - * - * capture a image, compress as jpeg and upload to the webserver - * q - * using ftp the ftp utility + * (c) 2000-2004 Tom Gilbert * */ @@ -39,7 +36,7 @@ #include "parseconfig.h" #include "pwc-ioctl.h" -#define VERSION "1.7" +#define VERSION "1.8" void camlog(char *fmt, ...); @@ -1584,6 +1581,11 @@ gib_imlib_free_image_and_decache(image); image = tmp_image; imlib_context_set_image(image); + + /* Set new values for width and height, else the image's + text might not show up in the correct position. */ + width = crop_width; + height = crop_height; } camlog("** shot taken\n"); ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs