VirtualBox

Changeset 14760 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 28, 2008 9:14:48 AM (16 years ago)
Author:
vboxsync
Message:

warning in unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/RDP/client/xwin.c

    r11982 r14760  
    648648                   &num_children);
    649649
    650         for (i = num_children - 1; i >= 0; i--)
    651         {
    652                 if (child_list[i] == behind)
     650        for (i = num_children; i > 0; i--)
     651        {
     652                if (child_list[i-1] == behind)
    653653                {
    654654                        found_behind = True;
    655655                }
    656                 else if (child_list[i] == wnd)
     656                else if (child_list[i-1] == wnd)
    657657                {
    658658                        found_wnd = True;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette