Permalink
Browse files

Fix a bug in the recent PATH commit for PCDM where I used the wrong i…

…nteger variable.
  • Loading branch information...
1 parent 1c049ce commit 88745de9058515978f55d76a196dad07a32f7695 Ken Moore committed Nov 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/PCDM/src/pcdm-backend.cpp
@@ -281,7 +281,7 @@ void Backend::loadXSessionsData(){
//if(!tmp[0].startsWith("/")){ tmp[0] = "/usr/local/bin/"+tmp[0]; }
if(!tmp[3].startsWith("/")&&!tmp[3].startsWith(":")&&!tmp[3].isEmpty()){ tmp[3] = xIconDir+tmp[3]; }
if(!tmp[4].startsWith("/") && !QFile::exists(tmp[4])){
- for(int p=0; i<paths.length(); i++){
+ for(int p=0; p<paths.length(); p++){
if(QFile::exists(paths[p]+"/"+tmp[4])){
tmp[4] = paths[p]+"/"+tmp[4];
}

0 comments on commit 88745de

Please sign in to comment.