Sfoglia il codice sorgente

Increase maximum vnc server name length

tags/v1.9.90
Alexander Duryagin 5 anni fa
parent
commit
6790199680
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      java/com/tigervnc/vncviewer/VncViewer.java
  2. 1
    1
      vncviewer/vncviewer.h

+ 1
- 1
java/com/tigervnc/vncviewer/VncViewer.java Vedi File

@@ -85,7 +85,7 @@ public class VncViewer extends javax.swing.JApplet
private static VncViewer applet;

private String defaultServerName;
int VNCSERVERNAMELEN = 64;
int VNCSERVERNAMELEN = 256;
CharBuffer vncServerName = CharBuffer.allocate(VNCSERVERNAMELEN);

public static void setLookAndFeel() {

+ 1
- 1
vncviewer/vncviewer.h Vedi File

@@ -19,7 +19,7 @@
#ifndef __VNCVIEWER_H__
#define __VNCVIEWER_H__

#define VNCSERVERNAMELEN 64
#define VNCSERVERNAMELEN 256

void exit_vncviewer(const char *error = NULL);
bool should_exit();

Loading…
Annulla
Salva