Fix common misspellings

Following misspellings were fixed:

adn->and
alwasy->always
arbitary->arbitrary
cant->can't
commerical->commercial
comprimise->compromise
consistant->consistent
dependant->dependent
didnt->didn't
doesnt->doesn't
enviroments->environments
foudn->found
fucntion->function
isnt->isn't
iwth->with
mroe->more
neccesary->necessary
onyl->only
paranthesis->parenthesis
parralel->parallel
refernces->references
seperate->separate
shoudl->should
soem->some
wasnt->wasn't
wiht->with
wokr->work




SVN revision: 52023
This commit is contained in:
Lucas De Marchi 2010-09-09 03:31:04 +00:00
parent 9daceb518d
commit 2ef97d2252
20 changed files with 67 additions and 67 deletions

View File

@ -21,7 +21,7 @@ You can do what you want with the source of this software - it doesn't
matter. We still have it here for ourselves and it is open and free to use matter. We still have it here for ourselves and it is open and free to use
and download and play with. It can't be taken away. We don't really mind what and download and play with. It can't be taken away. We don't really mind what
you do with the source to your software. We would simply like to know that you do with the source to your software. We would simply like to know that
you are using it - especially if it makes it to a commerical product. If you you are using it - especially if it makes it to a commercial product. If you
simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and simply e-mail all the AUTHORS (see COPYING and AUTHORS files) telling us, and
then make sure you include a paragraph or page in the manual for the product then make sure you include a paragraph or page in the manual for the product
with the copyright notice and state that you used this software, we will be with the copyright notice and state that you used this software, we will be

View File

@ -1058,7 +1058,7 @@
2005-10-13 00:09 vapier 2005-10-13 00:09 vapier
* make sure people know the mmx support is 32bit only so it isnt * make sure people know the mmx support is 32bit only so it isn't
for amd64 for amd64
2005-10-12 03:17 raster 2005-10-12 03:17 raster
@ -1086,7 +1086,7 @@
2005-10-04 22:53 vapier 2005-10-04 22:53 vapier
* asm_loadimmq.S is included by other files, it isnt supposed to be * asm_loadimmq.S is included by other files, it isn't supposed to be
compiled by itself compiled by itself
2005-10-03 02:29 raster 2005-10-03 02:29 raster
@ -1118,7 +1118,7 @@
2005-09-20 17:22 sebastid 2005-09-20 17:22 sebastid
* Add paranthesis to clean up. * Add parenthesis to clean up.
2005-09-20 16:56 sebastid 2005-09-20 16:56 sebastid
@ -1173,7 +1173,7 @@
2005-09-03 20:58 vapier 2005-09-03 20:58 vapier
* fix for cygwin building (and anyone else who doesnt define * fix for cygwin building (and anyone else who doesn't define
RTLD_LOCAL) RTLD_LOCAL)
2005-09-03 03:55 sebastid 2005-09-03 03:55 sebastid
@ -1321,13 +1321,13 @@
2005-07-22 10:28 raster 2005-07-22 10:28 raster
* 1. id3 album cover loader patches * 1. id3 album cover loader patches
2. i reduced list note memory usage by 20% - shoudl work better 2. i reduced list note memory usage by 20% - should work better
with malloc with malloc
as ti is now a power of 2 as well as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make 3. optimised evas internals to make use of event freezes to make
e17'sw menu e17'sw menu
popups a LOT snappier popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api 4. fixed using last member of list nodes - bad - should use api
as this is as this is
private stuff really private stuff really
5. added config profile stuff to e17 u can literally maintain 5. added config profile stuff to e17 u can literally maintain
@ -1805,7 +1805,7 @@
* sorry - mej - you seem to have broken the build on other systems * sorry - mej - you seem to have broken the build on other systems
and and
imlib2-config wasnt being installed - also it was deciding it had imlib2-config wasn't being installed - also it was deciding it had
to to
cross-compile and build i686-gnu-linux-imlib2-config etc. cross-compile and build i686-gnu-linux-imlib2-config etc.
files... had to files... had to
@ -2557,7 +2557,7 @@
2001-08-16 16:10 shamgar 2001-08-16 16:10 shamgar
* Changed --with-freetype to --with-ttf to make it consistant with * Changed --with-freetype to --with-ttf to make it consistent with
the other the other
modules. modules.
@ -2568,7 +2568,7 @@
2001-08-13 23:24 raster 2001-08-13 23:24 raster
* ooooh that would leak if we added the same path all the time... * ooooh that would leak if we added the same path all the time...
which shoudl which should
be ignored... :) be ignored... :)
2001-08-13 18:16 gilbertt 2001-08-13 18:16 gilbertt
@ -2640,7 +2640,7 @@
2001-08-11 03:33 raster 2001-08-11 03:33 raster
* alright - comprimise. theres a * alright - compromise. theres a
imlib_context_set_filename_raw_mode() imlib_context_set_filename_raw_mode()
call now - if you want to deal with filenames and not have them call now - if you want to deal with filenames and not have them
interpreted interpreted
@ -2672,7 +2672,7 @@
now we escpae literal colons with double colons. it's documented now we escpae literal colons with double colons. it's documented
too. (this too. (this
was easier to do as i also have to do it for ssving files and you was easier to do as i also have to do it for ssving files and you
cant stat can't stat
to see if a file exisit fi you havent saved it yet) to see if a file exisit fi you havent saved it yet)
2001-07-28 00:53 raster 2001-07-28 00:53 raster
@ -2931,7 +2931,7 @@
* fix for the other binary versions in the pnm_loader. Could * fix for the other binary versions in the pnm_loader. Could
someone please someone please
check if the ascii ones work right? I didnt test them. and test check if the ascii ones work right? I didn't test them. and test
the binary the binary
formats too while youre at it. Thanks :) formats too while youre at it. Thanks :)
@ -2943,10 +2943,10 @@
2001-01-01 11:52 tillsan 2001-01-01 11:52 tillsan
* small fix for the pnm loader. It didnt display the last two lines * small fix for the pnm loader. It didn't display the last two lines
of a file. of a file.
Ive only corrected the 24bit RGB one. Ill do the others if raster Ive only corrected the 24bit RGB one. Ill do the others if raster
doesnt doesn't
have a more elegant fix for this :). have a more elegant fix for this :).
2000-12-28 06:45 term 2000-12-28 06:45 term
@ -2971,7 +2971,7 @@
2000-12-15 00:03 raster 2000-12-15 00:03 raster
* oops - fix soem ascent & descent problems * oops - fix some ascent & descent problems
2000-12-12 21:07 raster 2000-12-12 21:07 raster
@ -3458,7 +3458,7 @@
2000-09-02 07:27 raster 2000-09-02 07:27 raster
* foudn bug in mmx asm blending.. 1 line hihg blends get skipped.. * found bug in mmx asm blending.. 1 line hihg blends get skipped..
fix! :) fix! :)
(ugly fix tho) (ugly fix tho)
@ -3703,7 +3703,7 @@
2000-06-23 19:34 raster 2000-06-23 19:34 raster
* apparently clone doesnt lone EVERYTHING.. now it clones all of it * apparently clone doesn't lone EVERYTHING.. now it clones all of it
except except
attached data tags... attached data tags...
@ -3762,7 +3762,7 @@
2000-06-05 18:19 raster 2000-06-05 18:19 raster
* shoudl in theory handle locks better.... * should in theory handle locks better....
2000-06-05 03:15 raster 2000-06-05 03:15 raster
@ -3830,7 +3830,7 @@
some more some more
stuff. dox is the start of dox2 the document viewer based on stuff. dox is the start of dox2 the document viewer based on
imlib2. Designed imlib2. Designed
so that the style of the docs is seperate from the contents. Will so that the style of the docs is separate from the contents. Will
evolve evolve
rapdily over the next week. rapdily over the next week.
@ -4021,7 +4021,7 @@
2000-05-06 19:37 raster 2000-05-06 19:37 raster
* build dither table for masks alwasy... even in depths > 16 * build dither table for masks always... even in depths > 16
2000-05-05 16:28 raster 2000-05-05 16:28 raster
@ -4223,7 +4223,7 @@
* slight api changes..... problem was we have a useless paramin the * slight api changes..... problem was we have a useless paramin the
pixmap gen pixmap gen
calls - it shoudl have used the context... :) calls - it should have used the context... :)
2000-04-25 03:29 mej 2000-04-25 03:29 mej
@ -4299,7 +4299,7 @@
2000-04-13 20:24 raster 2000-04-13 20:24 raster
* foudn evil mmx code overwriting memeory! thanks mej. back to the * found evil mmx code overwriting memeory! thanks mej. back to the
C code for C code for
you! you!
@ -4309,7 +4309,7 @@
2000-04-13 16:37 raster 2000-04-13 16:37 raster
* changelog..... NOOOOOOOOO cant be! :) * changelog..... NOOOOOOOOO can't be! :)
2000-04-13 16:31 raster 2000-04-13 16:31 raster
@ -4330,7 +4330,7 @@
* fix corner case for clippign where integer math rounds source * fix corner case for clippign where integer math rounds source
widht to 0 where widht to 0 where
it shoudl be 1. it should be 1.
2000-04-11 23:34 mej 2000-04-11 23:34 mej
@ -4371,7 +4371,7 @@
2000-04-08 19:15 raster 2000-04-08 19:15 raster
* check for i686 artch and only then compile the mmx asm (i586 isnt * check for i686 artch and only then compile the mmx asm (i586 isn't
guaranteed guaranteed
to have mmx - NB libs built for mmx will NOt work on non mmx to have mmx - NB libs built for mmx will NOt work on non mmx
boxes right now boxes right now
@ -4423,7 +4423,7 @@
2000-03-28 22:25 raster 2000-03-28 22:25 raster
* speedup scaling down....... but i cant seem to get any speedup * speedup scaling down....... but i can't seem to get any speedup
for up scaling for up scaling
2000-03-28 18:09 raster 2000-03-28 18:09 raster
@ -4585,7 +4585,7 @@
2000-03-03 17:24 raster 2000-03-03 17:24 raster
* poatch main.c - but rottest doesnt work.. must fix later * poatch main.c - but rottest doesn't work.. must fix later
2000-03-03 17:15 raster 2000-03-03 17:15 raster
@ -4701,7 +4701,7 @@
2000-01-10 05:41 raster 2000-01-10 05:41 raster
* i cant beleieve i missed wrappign the pixmap free function.... * i can't beleieve i missed wrappign the pixmap free function....
2000-01-07 18:40 raster 2000-01-07 18:40 raster
@ -4719,7 +4719,7 @@
2000-01-06 06:32 raster 2000-01-06 06:32 raster
* search path for font mroe sanely * search path for font more sanely
2000-01-06 05:58 raster 2000-01-06 05:58 raster
@ -4864,7 +4864,7 @@
1999-11-16 00:06 raster 1999-11-16 00:06 raster
* oop s- clipping problme wiht lines.. fixed :) * oop s- clipping problme with lines.. fixed :)
1999-11-13 18:55 raster 1999-11-13 18:55 raster
@ -4888,7 +4888,7 @@
1999-11-03 16:21 raster 1999-11-03 16:21 raster
* add soem stuff and new blend.c from ryan :) * add some stuff and new blend.c from ryan :)
1999-11-02 15:56 raster 1999-11-02 15:56 raster
@ -4909,7 +4909,7 @@
1999-11-02 13:32 raster 1999-11-02 13:32 raster
* fix a little of the rend code - never testyed that bit... * fix a little of the rend code - never testyed that bit...
andf the imlib2_view works nicely iwth zooming too :) andf the imlib2_view works nicely with zooming too :)
1999-11-02 11:13 raster 1999-11-02 11:13 raster
@ -4945,7 +4945,7 @@
1999-11-01 20:50 raster 1999-11-01 20:50 raster
* hmm that didnt compile.. ooh fun :) * hmm that didn't compile.. ooh fun :)
1999-11-01 18:46 raster 1999-11-01 18:46 raster
@ -5052,7 +5052,7 @@
1999-10-31 22:50 raster 1999-10-31 22:50 raster
* eeek math error at 255 (becomes 254) not surprising i didnt * eeek math error at 255 (becomes 254) not surprising i didn't
notice.. i notice.. i
looked at the results rsather than numerically evaluating... looked at the results rsather than numerically evaluating...
@ -5162,7 +5162,7 @@
1999-10-21 17:07 raster 1999-10-21 17:07 raster
* color modifiers in imlib2 now done.. cleaned up soem code... * color modifiers in imlib2 now done.. cleaned up some code...
1999-09-30 16:46 raster 1999-09-30 16:46 raster
@ -5232,7 +5232,7 @@
1999-09-27 23:09 raster 1999-09-27 23:09 raster
* get rid of soem useless fonts... * get rid of some useless fonts...
1999-09-27 22:55 raster 1999-09-27 22:55 raster
@ -5296,11 +5296,11 @@
1999-09-19 21:22 raster 1999-09-19 21:22 raster
* and add soem comments * and add some comments
1999-09-19 21:18 raster 1999-09-19 21:18 raster
* and one mroe fix for big endian boxes for imlib png loader * and one more fix for big endian boxes for imlib png loader
1999-09-19 21:00 raster 1999-09-19 21:00 raster
@ -5322,7 +5322,7 @@
1999-09-18 16:41 raster 1999-09-18 16:41 raster
* rewmove files i didnt mean tot add * rewmove files i didn't mean tot add
1999-09-18 16:40 raster 1999-09-18 16:40 raster
@ -5335,7 +5335,7 @@
1999-09-17 01:47 raster 1999-09-17 01:47 raster
* more wokr on updates * more work on updates
1999-09-17 01:31 raster 1999-09-17 01:31 raster
@ -5343,7 +5343,7 @@
1999-09-15 01:24 raster 1999-09-15 01:24 raster
* some mroe echos... * some more echos...
1999-09-15 01:22 raster 1999-09-15 01:22 raster
@ -5402,7 +5402,7 @@
to add to add
a bit to the api, and move the stuff nowin api.c off into imlib a bit to the api, and move the stuff nowin api.c off into imlib
backend backend
sinc ethat stuff doesnt belong in api.c sinc ethat stuff doesn't belong in api.c
1999-09-09 02:39 raster 1999-09-09 02:39 raster
@ -5418,7 +5418,7 @@
1999-09-01 17:36 raster 1999-09-01 17:36 raster
* remember to not free images made form external data if it wasnt * remember to not free images made form external data if it wasn't
copied.. and copied.. and
free colors from color cubes once the context is invalid.. :) free colors from color cubes once the context is invalid.. :)

2
TODO
View File

@ -1,4 +1,4 @@
* line code doesnt draw nice liens when clipping - fix * line code doesn't draw nice liens when clipping - fix
* filled polygons can break fill bounds on corner cases - fix * filled polygons can break fill bounds on corner cases - fix
* go thru TODOs and FIXMEs * go thru TODOs and FIXMEs

View File

@ -9,7 +9,7 @@ imlib2-config [options]
.SH DESCRIPTION .SH DESCRIPTION
.HP .HP
.I imlib2-config .I imlib2-config
is a script that's used by make and other build enviroments to is a script that's used by make and other build environments to
gather imlib2 information. gather imlib2 information.
.HP .HP
Run Run

View File

@ -540,7 +540,7 @@ If the value "red" is not passed to the filter then it will remain at 50, but it
return type - Imlib_Image, this is the result of filter. return type - Imlib_Image, this is the result of filter.
@todo line code doesnt draw nice liens when clipping - fix @todo line code doesn't draw nice liens when clipping - fix
@todo filled polygons can break fill bounds on corner cases - fix @todo filled polygons can break fill bounds on corner cases - fix
@todo go thru TODOs and FIXMEs @todo go thru TODOs and FIXMEs

View File

@ -61,7 +61,7 @@ main(int argc, char **argv)
PointerMotionMask | ExposureMask); PointerMotionMask | ExposureMask);
/* show the window */ /* show the window */
XMapWindow(disp, win); XMapWindow(disp, win);
/* set our cache to 2 Mb so it doesnt have to go hit the disk as long as */ /* set our cache to 2 Mb so it doesn't have to go hit the disk as long as */
/* the images we use use less than 2Mb of RAM (that is uncompressed) */ /* the images we use use less than 2Mb of RAM (that is uncompressed) */
imlib_set_cache_size(2048 * 1024); imlib_set_cache_size(2048 * 1024);
/* set the font cache to 512Kb - again to avoid re-loading */ /* set the font cache to 512Kb - again to avoid re-loading */

View File

@ -445,7 +445,7 @@ extern "C"
Imlib_Load_Error * error_return); Imlib_Load_Error * error_return);
/* FIXME: */ /* FIXME: */
/* need to add arbitary rotation routines */ /* need to add arbitrary rotation routines */
/* rotation/skewing */ /* rotation/skewing */
EAPI Imlib_Image imlib_create_rotated_image(double angle); EAPI Imlib_Image imlib_create_rotated_image(double angle);

View File

@ -4755,7 +4755,7 @@ imlib_rotate_image_from_buffer(double angle, Imlib_Image source_image)
else else
sz = im->w; // update sz with real width sz = im->w; // update sz with real width
#if 0 /* Not neccesary 'cause destination is context */ #if 0 /* Not necessary 'cause destination is context */
im = __imlib_CreateImage(sz, sz, NULL); im = __imlib_CreateImage(sz, sz, NULL);
im->data = calloc(sz * sz, sizeof(DATA32)); im->data = calloc(sz * sz, sizeof(DATA32));
if (!(im->data)) if (!(im->data))

View File

@ -167,7 +167,7 @@ PR_(imlib_mmx_RotateAA):
punpckhwd %mm1, %mm1 punpckhwd %mm1, %mm1
punpckldq %mm1, %mm1 punpckldq %mm1, %mm1
/*\ Load and unpack four pixels in parralel /*\ Load and unpack four pixels in parallel
|*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm2 = ptr[0], %mm3 = ptr[1]
|*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1] |*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1]
\*/ \*/
@ -260,7 +260,7 @@ PR_(imlib_mmx_RotateAA):
punpckldq %mm0, %mm0 punpckldq %mm0, %mm0
punpckhwd %mm1, %mm1 punpckhwd %mm1, %mm1
punpckldq %mm1, %mm1 punpckldq %mm1, %mm1
/*\ Load and unpack four pixels in parralel /*\ Load and unpack four pixels in parallel
|*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm2 = ptr[0], %mm3 = ptr[1]
|*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1] |*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1]
\*/ \*/

View File

@ -146,7 +146,7 @@ PR_(imlib_Scale_mmx_AARGBA):
punpcklwd %mm0, %mm0 punpcklwd %mm0, %mm0
punpckldq %mm0, %mm0 punpckldq %mm0, %mm0
/*\ Load and unpack four pixels in parralel /*\ Load and unpack four pixels in parallel
|*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm2 = ptr[0], %mm3 = ptr[1]
|*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1] |*| %mm4 = ptr[sow], %mm5 = ptr[sow + 1]
\*/ \*/
@ -212,7 +212,7 @@ PR_(imlib_Scale_mmx_AARGBA):
punpcklwd %mm0, %mm0 punpcklwd %mm0, %mm0
punpckldq %mm0, %mm0 punpckldq %mm0, %mm0
/*\ Load and unpack two pixels in parralel /*\ Load and unpack two pixels in parallel
|*| %mm2 = ptr[0], %mm3 = ptr[1] |*| %mm2 = ptr[0], %mm3 = ptr[1]
\*/ \*/
movq (%esi), %mm2 movq (%esi), %mm2

View File

@ -17,7 +17,7 @@
#endif #endif
/* FIXME: endian dependant */ /* FIXME: endian dependent */
#define READ_RGB(p, r, g, b) \ #define READ_RGB(p, r, g, b) \
(r) = R_VAL(p); \ (r) = R_VAL(p); \
(g) = G_VAL(p); \ (g) = G_VAL(p); \

View File

@ -1,7 +1,7 @@
#include "color_helpers.h" #include "color_helpers.h"
/* /*
* Color space conversion helper routines * Color space conversion helper routines
* Convert between rgb and hsv adn between rgb and hls * Convert between rgb and hsv and between rgb and hls
*/ */
void void

View File

@ -34,7 +34,7 @@ __imlib_FlushContexts(void)
{ {
ctt = ct; ctt = ct;
ct = ct->next; ct = ct->next;
/* it hasnt been referenced in the last max_context_count refernces */ /* it hasn't been referenced in the last max_context_count references */
/* thus old and getrid of it */ /* thus old and getrid of it */
if (ctt->last_use < (context_counter - max_context_count)) if (ctt->last_use < (context_counter - max_context_count))
{ {

View File

@ -119,7 +119,7 @@ imlib_font_load_joined(const char *fontname)
} }
} }
free(name); free(name);
/* didnt find a file? abort */ /* didn't find a file? abort */
if (!file) if (!file)
return NULL; return NULL;
fn = imlib_font_load(file, faceidx, size); fn = imlib_font_load(file, faceidx, size);

View File

@ -535,7 +535,7 @@ __imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy, int ow, int oh,
XColor cols[256]; XColor cols[256];
domask = (pdomask) ? *pdomask : 0; domask = (pdomask) ? *pdomask : 0;
/* FIXME: oh isnt used - i wonder if there's a bug looming... */ /* FIXME: oh isn't used - i wonder if there's a bug looming... */
oh = 0; oh = 0;
origw = w; origw = w;
origh = h; origh = h;

View File

@ -972,7 +972,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress,
return NULL; return NULL;
/* see if we already have the image cached */ /* see if we already have the image cached */
im = __imlib_FindCachedImage(file); im = __imlib_FindCachedImage(file);
/* if we found a cached image and we shoudl always check that it is */ /* if we found a cached image and we should always check that it is */
/* accurate to the disk conents if they changed since we last loaded */ /* accurate to the disk conents if they changed since we last loaded */
/* and that it is still a valid image */ /* and that it is still a valid image */
if ((im) && (IMAGE_IS_VALID(im))) if ((im) && (IMAGE_IS_VALID(im)))
@ -1025,7 +1025,7 @@ __imlib_LoadImage(const char *file, ImlibProgressFunction progress,
if (best_loader) if (best_loader)
loader_ret = loader_ret =
best_loader->load(im, progress, progress_granularity, immediate_load); best_loader->load(im, progress, progress_granularity, immediate_load);
/* width is still 0 - the loader didnt manage to do anything */ /* width is still 0 - the loader didn't manage to do anything */
if (im->w == 0) if (im->w == 0)
{ {
ImlibLoader *l, *previous_l = NULL; ImlibLoader *l, *previous_l = NULL;

View File

@ -13,7 +13,7 @@
# ifndef RTLD_LOCAL # ifndef RTLD_LOCAL
# define RTLD_LOCAL 0 # define RTLD_LOCAL 0
# warning "your crap box doesnt define RTLD_LOCAL !?" # warning "your crap box doesn't define RTLD_LOCAL !?"
# endif # endif
typedef struct _imlibimage ImlibImage; typedef struct _imlibimage ImlibImage;

View File

@ -282,7 +282,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im,
/* if the input rect size < 0 dont render either */ /* if the input rect size < 0 dont render either */
if ((sw <= 0) || (sh <= 0)) if ((sw <= 0) || (sh <= 0))
return; return;
/* if the output is too big (8k arbitary limit here) dont bother */ /* if the output is too big (8k arbitrary limit here) dont bother */
if ((abs(dw) > X_MAX_DIM) || (abs(dh) > X_MAX_DIM)) if ((abs(dw) > X_MAX_DIM) || (abs(dh) > X_MAX_DIM))
return; return;
/* clip the source rect to be within the actual image */ /* clip the source rect to be within the actual image */
@ -307,7 +307,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im,
/* if the input rect size < 0 dont render either */ /* if the input rect size < 0 dont render either */
if ((sw <= 0) || (sh <= 0)) if ((sw <= 0) || (sh <= 0))
return; return;
/* if the output is too big (8k arbitary limit here) dont bother */ /* if the output is too big (8k arbitrary limit here) dont bother */
if ((abs(dw) > X_MAX_DIM) || (abs(dh) > X_MAX_DIM)) if ((abs(dw) > X_MAX_DIM) || (abs(dh) > X_MAX_DIM))
return; return;
/* if we are scaling the image at all make a scaling buffer */ /* if we are scaling the image at all make a scaling buffer */
@ -479,7 +479,7 @@ __imlib_RenderImage(Display * d, ImlibImage * im,
XFreeGC(disp, gc); XFreeGC(disp, gc);
gc = 0; gc = 0;
} }
/* if we didnt have a gc... create it */ /* if we didn't have a gc... create it */
if (!gc) if (!gc)
{ {
disp = d; disp = d;

View File

@ -1378,7 +1378,7 @@ __imlib_ScaleAARGB(ImlibScaleInfo * isi, DATA32 * dest, int dxx, int dyy,
} }
} }
#endif #endif
/* fully optimized (i think) - onyl change of algorithm can help */ /* fully optimized (i think) - only change of algorithm can help */
/* if we're scaling down horizontally & vertically */ /* if we're scaling down horizontally & vertically */
else else
#ifndef OLD_SCALE_DOWN #ifndef OLD_SCALE_DOWN

View File

@ -23,7 +23,7 @@ static int list_max_count = 0;
/* temporary X error catcher we use later */ /* temporary X error catcher we use later */
static char _x_err = 0; static char _x_err = 0;
/* the fucntion we use for catching the error */ /* the function we use for catching the error */
static int static int
TmpXError(Display * d, XErrorEvent * ev) TmpXError(Display * d, XErrorEvent * ev)
{ {