Revision 8a0f0d0c

b/vnc.c
1649 1649
    vs->tight_quality = 9;
1650 1650
    vs->absolute = -1;
1651 1651

  
1652
    /*
1653
     * Start from the end because the encodings are sent in order of preference.
1654
     * This way the prefered encoding (first encoding defined in the array)
1655
     * will be set at the end of the loop.
1656
     */
1652 1657
    for (i = n_encodings - 1; i >= 0; i--) {
1653 1658
        enc = encodings[i];
1654 1659
        switch (enc) {

Also available in: Unified diff