src/lib/gentoken.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cbe03a66e9bee3edae23c6462b8292b454892541 Author: Fridrich Å trba <fridrich.st...@bluewin.ch> Date: Fri Apr 26 11:16:15 2013 +0200 Token ID 0 is special in the way the has handles it diff --git a/src/lib/gentoken.pl b/src/lib/gentoken.pl index 27da298..67689fb 100644 --- a/src/lib/gentoken.pl +++ b/src/lib/gentoken.pl @@ -71,9 +71,9 @@ print ( HXX "\n" ); $i = 0; foreach( sort(keys(%tokens)) ) { + $i = $i + 1; print( HXX "const int $tokens{$_} = $i;\n" ); print( GPERF "$_,$tokens{$_}\n" ); - $i = $i + 1; } print ( GPERF "%%\n" ); print ( HXX "\n" );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits