1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
putty-source/windows/utils/platform_get_x_display.c

14 lines
267 B
C
Raw Normal View History

/*
* Implementation of platform_get_x_display for Windows, common to all
* tools.
*/
#include "putty.h"
#include "ssh.h"
char *platform_get_x_display(void)
{
/* We may as well check for DISPLAY in case it's useful. */
return dupstr(getenv("DISPLAY"));
}