diff options
author | Tor Lillqvist <tml@iki.fi> | 2003-01-29 03:31:39 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2003-01-29 03:31:39 +0000 |
commit | 8d4052a027eeaf7310f602c7e3fdb2f03327012d (patch) | |
tree | e4b1e2080c50595e7a6cd20b66e25da885c7253e | |
parent | c1b0cce4d2de5585f4b2039de13812f24b19c3ea (diff) | |
download | pango-8d4052a027eeaf7310f602c7e3fdb2f03327012d.tar.gz |
g_return_val_if_fail for index >= 0 was the wrong way.
2003-01-29 Tor Lillqvist <tml@iki.fi>
* pango/pango-coverage.c (pango_coverage_get):
g_return_val_if_fail for index >= 0 was the wrong way.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 4 | ||||
-rw-r--r-- | pango/pango-coverage.c | 2 |
6 files changed, 11 insertions, 11 deletions
@@ -1,7 +1,7 @@ 2003-01-29 Tor Lillqvist <tml@iki.fi> - * pango/pango-coverage.c (pango_coverage_set): g_return_if_fail - for index >= 0 was the wrong way. + * pango/pango-coverage.c (pango_coverage_get/set): + g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 4af96154..fe81c2c1 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,7 +1,7 @@ 2003-01-29 Tor Lillqvist <tml@iki.fi> - * pango/pango-coverage.c (pango_coverage_set): g_return_if_fail - for index >= 0 was the wrong way. + * pango/pango-coverage.c (pango_coverage_get/set): + g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 4af96154..fe81c2c1 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,7 +1,7 @@ 2003-01-29 Tor Lillqvist <tml@iki.fi> - * pango/pango-coverage.c (pango_coverage_set): g_return_if_fail - for index >= 0 was the wrong way. + * pango/pango-coverage.c (pango_coverage_get/set): + g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 4af96154..fe81c2c1 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,7 +1,7 @@ 2003-01-29 Tor Lillqvist <tml@iki.fi> - * pango/pango-coverage.c (pango_coverage_set): g_return_if_fail - for index >= 0 was the wrong way. + * pango/pango-coverage.c (pango_coverage_get/set): + g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 4af96154..fe81c2c1 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,7 +1,7 @@ 2003-01-29 Tor Lillqvist <tml@iki.fi> - * pango/pango-coverage.c (pango_coverage_set): g_return_if_fail - for index >= 0 was the wrong way. + * pango/pango-coverage.c (pango_coverage_get/set): + g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c index 61e94301..7a77b9e3 100644 --- a/pango/pango-coverage.c +++ b/pango/pango-coverage.c @@ -169,7 +169,7 @@ pango_coverage_get (PangoCoverage *coverage, int block_index; g_return_val_if_fail (coverage != NULL, PANGO_COVERAGE_NONE); - g_return_val_if_fail (index < 0, PANGO_COVERAGE_NONE); + g_return_val_if_fail (index >= 0, PANGO_COVERAGE_NONE); block_index = index / 256; |