]> git.wh0rd.org Git - fontconfig.git/commit
Place language name in constant array instead of pointer.
authorKeith Packard <keithp@koto.keithp.com>
Thu, 18 Oct 2007 15:58:14 +0000 (08:58 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Thu, 18 Oct 2007 15:58:14 +0000 (08:58 -0700)
commite85789a99770dbd1a4abe9da3eadb355c19f5216
tree81eaed2fb45ec22624a639e677d9ffb5f2fcc4b0
parent26437d4924b0f53f03915e5f3616992eb1fb72e7
Place language name in constant array instead of pointer.

Constant char array of 8 bytes is the same size as a pointer plus a short
string, so this actually saves memory and eliminates a pile of relocations.
fc-lang/fc-lang.c
src/fclang.c