hdt: Get rid of MAX_MODES
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 16 Apr 2009 22:27:39 +0000 (15:27 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 16 Apr 2009 22:27:39 +0000 (15:27 -0700)
commit780c8f8361ff8f6ebd3b4b4a82e991c81c0c3562
tree44d039e218a76536b7cae7692416eb2de346d844
parentd72bfe6108c5104bb095f1c3f9f35885ddf8da88
hdt: Get rid of MAX_MODES

End the list of modes by NULL instead of managing manually the length.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-hdt.c
com32/hdt/hdt-cli.c
com32/hdt/hdt-cli.h