mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 09:11:28 -05:00
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:
parent
6bf3fb178a
commit
ac4e2cefb5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user