Skip to content

Commit

Permalink
Fixed bug in numbering with console login diabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph R. Nosie authored and Ghost1227 committed May 16, 2010
1 parent bf2311d commit 2e546b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cdm
Expand Up @@ -137,10 +137,10 @@ mainmenu() {
count=0
menu=$(
while [[ ${count} -lt ${#wmdisplist[@]} ]]; do
if ! $(checkyesno consolefirst); then
echo -ne "$((count+countfrom)) ${wmdisplist[${count}]} "
else
if $(checkyesno allowconsole) && $(checkyesno consolefirst); then
echo -ne "$((count+countfrom+1)) ${wmdisplist[${count}]} "
else
echo -ne "$((count+countfrom)) ${wmdisplist[${count}]} "
fi
let count=count+1
done
Expand Down

0 comments on commit 2e546b4

Please sign in to comment.