mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04: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
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue