|
54 | 54 |
|
55 | 55 | // Set version number of the library. |
56 | 56 | #ifndef cimg_version |
57 | | -#define cimg_version 371 |
| 57 | +#define cimg_version 372 |
58 | 58 |
|
59 | 59 | /*----------------------------------------------------------- |
60 | 60 | # |
|
85 | 85 |
|
86 | 86 | // Detect/configure OS variables. |
87 | 87 | // |
88 | | -// Define 'cimg_OS' to: '0' for an unknown OS (will try to minize library dependencies). |
| 88 | +// Define 'cimg_OS' to: '0' for an unknown OS (will try to minimize library dependencies). |
89 | 89 | // '1' for a Unix-like OS (Linux, Solaris, BSD, MacOSX, Irix, ...). |
90 | 90 | // '2' for Microsoft Windows. |
91 | 91 | // (auto-detection is performed if 'cimg_OS' is not set by the user). |
@@ -10573,7 +10573,7 @@ namespace cimg_library { |
10573 | 10573 | if (!X11_attr.nb_cimg_displays && allow_terminate_events_thread) |
10574 | 10574 | X11_attr.unlock().terminate_events_thread().lock(); |
10575 | 10575 |
|
10576 | | - // Destroy associated ressources. |
| 10576 | + // Destroy associated resources. |
10577 | 10577 | if (_is_fullscreen && !_is_closed) _desinit_fullscreen(); |
10578 | 10578 |
|
10579 | 10579 | #ifdef cimg_use_xshm |
@@ -12254,7 +12254,7 @@ namespace cimg_library { |
12254 | 12254 | SDL3_attr.cimg_displays[i] = SDL3_attr.cimg_displays[i + 1]; |
12255 | 12255 | --SDL3_attr.nb_cimg_displays; |
12256 | 12256 |
|
12257 | | - // Destroy associated ressources. |
| 12257 | + // Destroy associated resources. |
12258 | 12258 | SDL_DestroyRenderer(_renderer); |
12259 | 12259 | SDL_DestroyWindow(_window); |
12260 | 12260 | SDL_DestroyTexture(_texture); |
@@ -21562,7 +21562,7 @@ namespace cimg_library { |
21562 | 21562 | ns = s; while (ns<se && (*ns!=',' || level[ns - expr._data]!=clevel1) && |
21563 | 21563 | (*ns!=')' || level[ns - expr._data]!=clevel)) ++ns; |
21564 | 21564 | arg2 = compile(s,ns,depth1,0,block_flags); |
21565 | | - if (is_vector(arg2)) // Vector argument allowed to specify cordinates and color |
| 21565 | + if (is_vector(arg2)) // Vector argument allowed to specify coordinates and color |
21566 | 21566 | CImg<ulongT>::sequence(size(arg2),arg2 + 1,arg2 + (ulongT)size(arg2)).move_to(l_opcode); |
21567 | 21567 | else |
21568 | 21568 | CImg<ulongT>::vector(arg2).move_to(l_opcode); |
@@ -21953,7 +21953,7 @@ namespace cimg_library { |
21953 | 21953 | ns = s; while (ns<se && (*ns!=',' || level[ns - expr._data]!=clevel1) && |
21954 | 21954 | (*ns!=')' || level[ns - expr._data]!=clevel)) ++ns; |
21955 | 21955 | arg2 = compile(s,ns,depth1,0,block_flags); |
21956 | | - if (is_vector(arg2)) // Vector argument allowed to specify cordinates and color |
| 21956 | + if (is_vector(arg2)) // Vector argument allowed to specify coordinates and color |
21957 | 21957 | CImg<ulongT>::sequence(size(arg2),arg2 + 1,arg2 + (ulongT)size(arg2)).move_to(l_opcode); |
21958 | 21958 | else |
21959 | 21959 | CImg<ulongT>::vector(arg2).move_to(l_opcode); |
@@ -32332,7 +32332,7 @@ namespace cimg_library { |
32332 | 32332 | return false; |
32333 | 32333 | } |
32334 | 32334 |
|
32335 | | - // Return 'true' is a single 'value' or '!value' has been succesfully read ('value' being a double or { w,h,d,s }). |
| 32335 | + // Return 'true' is a single 'value' or '!value' has been successfully read ('value' being a double or { w,h,d,s }). |
32336 | 32336 | bool __eval_get(const char* &ptr, double &value) const { |
32337 | 32337 | int n = 0; |
32338 | 32338 | while (*ptr && cimg::is_blank(*ptr)) ++ptr; |
@@ -35022,7 +35022,7 @@ namespace cimg_library { |
35022 | 35022 | } |
35023 | 35023 |
|
35024 | 35024 | // Fill image according to a value sequence, given as a string. |
35025 | | - // Return 'true' if an error occured, 'false' otherwise. |
| 35025 | + // Return 'true' if an error occurred, 'false' otherwise. |
35026 | 35026 | bool _fill_from_values(const char *const values, const bool repeat_values) { |
35027 | 35027 | CImg<charT> item(256); |
35028 | 35028 | const char *nvalues = values; |
|
0 commit comments