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:
parent
5a47c6420c
commit
b542976846
|
@ -33,9 +33,6 @@
|
||||||
#include <xwin-config.h>
|
#include <xwin-config.h>
|
||||||
#endif
|
#endif
|
||||||
#include "win.h"
|
#include "win.h"
|
||||||
#ifdef __CYGWIN__
|
|
||||||
#include <sys/cygwin.h>
|
|
||||||
#endif
|
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include "winprefs.h"
|
#include "winprefs.h"
|
||||||
|
|
||||||
|
@ -623,17 +620,8 @@ winAboutDlgProc(HWND hwndDialog, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
INT_PTR iReturn;
|
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/"
|
const char *pszWinPath = "http://x.cygwin.com/"
|
||||||
"devel/server/changelog.html";
|
"devel/server/changelog.html";
|
||||||
#endif
|
|
||||||
|
|
||||||
iReturn = (INT_PTR) ShellExecute(NULL,
|
iReturn = (INT_PTR) ShellExecute(NULL,
|
||||||
"open",
|
"open",
|
||||||
|
|
Loading…
Reference in New Issue