diff options
author | Werner Lemberg <wl@gnu.org> | 2016-12-26 23:57:45 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2016-12-26 23:57:45 +0100 |
commit | f80c4473b6a9ccfb50b4cca8da059dc799441dc4 (patch) | |
tree | 09f0da7b90e3b6d272ea7e7566a41377aedbc94d /src/cff/cffobjs.c | |
parent | 4441f7b24675fbd7d91f794f5d54e6c1ff168439 (diff) | |
download | freetype2-f80c4473b6a9ccfb50b4cca8da059dc799441dc4.tar.gz |
Replace `++foo' and `--foo' with `foo++' and `foo--', resp.
Diffstat (limited to 'src/cff/cffobjs.c')
-rw-r--r-- | src/cff/cffobjs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c index 1c0a12d0c..926effc52 100644 --- a/src/cff/cffobjs.c +++ b/src/cff/cffobjs.c @@ -450,7 +450,7 @@ FT_Int idx; - for ( idx = 1; idx <= style_name_length; ++idx ) + for ( idx = 1; idx <= style_name_length; idx++ ) { if ( family_name[family_name_length - idx] != style_name[style_name_length - idx] ) @@ -469,7 +469,7 @@ family_name[idx] == ' ' || family_name[idx] == '_' || family_name[idx] == '+' ) ) - --idx; + idx--; if ( idx > 0 ) family_name[idx + 1] = '\0'; |