chiark / gitweb /
localectl: count locale variables from 0, instead of VARIABLE_LANG
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Oct 2014 12:34:55 +0000 (14:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Oct 2014 12:39:07 +0000 (14:39 +0200)
commit63229aa1abdb98aa69fda9819ed2f40c8082762b
tree0f687b99e3ce562f7d1f40864d0db9496db157cc
parent581fe6c8176c6ea4ad998566df0746bf7b56456f
localectl: count locale variables from 0, instead of VARIABLE_LANG

That way the we make our code safe regarding reordering of the variables
in the enum.
src/locale/localectl.c