hw/xwin: deprecated interface cygwin_conv_to_win32_path() doesn't exist in 64-bit cygwin

The deprecated interface cygwin_conv_to_win32_path() doesn't exist in 64-bit
cygwin, but both the ID_ABOUT_CHANGELOG control and the referenced file who's
path we are converting haven't existed for a while, so just remove this unused,
cygwin-specific code.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon TURNEY 2013-03-30 19:40:31 +00:00
parent 5a47c6420c
commit b542976846

View File

@ -33,9 +33,6 @@
#include <xwin-config.h>
#endif
#include "win.h"
#ifdef __CYGWIN__
#include <sys/cygwin.h>
#endif
#include <shellapi.h>
#include "winprefs.h"
@ -623,17 +620,8 @@ winAboutDlgProc(HWND hwndDialog, UINT message, WPARAM wParam, LPARAM lParam)
{
INT_PTR iReturn;
#ifdef __CYGWIN__
const char *pszCygPath = "/usr/X11R6/share/doc/"
"xorg-x11-xwin/changelog.html";
char pszWinPath[MAX_PATH + 1];
/* Convert the POSIX path to a Win32 path */
cygwin_conv_to_win32_path(pszCygPath, pszWinPath);
#else
const char *pszWinPath = "http://x.cygwin.com/"
"devel/server/changelog.html";
#endif
iReturn = (INT_PTR) ShellExecute(NULL,
"open",