Ver código fonte

Forgot to initialise the iterator index properly.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4938 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.2.90
Pierre Ossman 12 anos atrás
pai
commit
02dc813c92
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      unix/xserver/hw/vnc/XserverDesktop.cc

+ 1
- 1
unix/xserver/hw/vnc/XserverDesktop.cc Ver arquivo

@@ -296,7 +296,7 @@ RRModePtr XserverDesktop::findRandRMode(RROutputPtr output, int width, int heigh
{
RRModePtr mode;

for (int i;i < output->numModes;i++) {
for (int i = 0;i < output->numModes;i++) {
if ((output->modes[i]->mode.width == width) &&
(output->modes[i]->mode.height == height))
return output->modes[i];

Carregando…
Cancelar
Salvar