[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Siddharth Srivastava
akssps011 at gmail.com
Thu Jul 29 21:48:31 CEST 2010
SVN commit 1156835 by siddharthsrivastava:
M +1 -1 RoutingModel.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingModel.cpp #1156834:1156835
@@ -359,7 +359,7 @@
//if there is no route but source and destination are specified
if( wayPoints.size() != 0 ) {
if( !( wayPoints[waypointIndex] == wayPoints[wayPoints.size()-1] ) ) {
- qreal currentWaypointOffset;
+ int currentWaypointOffset = 0;
for( int i = 0; i<instructions.size(); ++i ) {
int instructionSize = instructions[i].instructionPointSet.size();
for ( int j = 0; j<instructionSize; ++j ) {
More information about the Marble-commits
mailing list