Skip to content

Commit dd16528

Browse files
committed
Oops in last commit.
svn path=/branches/v0_91_maint/; revision=4924
1 parent be0c7e5 commit dd16528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ft2font.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ FT2Font::get_glyph(const Py::Tuple & args){
10361036
if ( (size_t)num >= gms.size())
10371037
throw Py::ValueError("Glyph index out of range");
10381038

1039-
Py_INCREF(gm);
1039+
Py_INCREF(gms[num]);
10401040
return Py::asObject(gms[num]);
10411041
}
10421042

0 commit comments

Comments
 (0)