mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-26 17:45:52 +01:00
The check on length of string before comparing is not necessary because this will be checked as part of strcmp; the check won't save time and may actually cost. As the number of element in the array is not going to change during the loop, took the call to 'WMGetArrayItemCount' outside the loop to be faster (and ease compiler's optimisation work). Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
23 KiB
23 KiB