Bugfix for launching desktop support.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-12-07 18:34:54 +00:00
parent 6bf3fb178a
commit ac4e2cefb5

View File

@ -61,6 +61,7 @@
#include <sstream>
#include <iomanip>
#include <unistd.h>
#define FONT QFont(tr("Arial"), 8)
@ -792,10 +793,10 @@ void openFile(std::string path)
{
std::cerr << "[WIN] openPath() Very Small path ignoring: " << path;
std::cerr << std::endl;
return
return;
}
if ((path[1] == ':') && (path.[2] == '\'))
if ((path[1] == ':') && ((path[2] == '\\') || (path[2] == '/')))
{
isAbs = true;
}