Skip to content

Commit

Permalink
Vect_get_proj was not in 6.0
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@4986 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 9, 2006
1 parent 5d07251 commit f8efcb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plugins/grass/qgsgrassmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ QString QgsGrassModelItem::info()
char buffer[100];

Vect_get_map_box (&Map, &box );
int proj = Vect_get_proj(&Map);

QgsGrass::setMapset( mGisbase, mLocation, mMapset );
struct Cell_head window;
G_get_window (&window);
int proj = window.proj;

G_format_northing (box.N, buffer, proj);
str += htmlTableRow ( "North", QString(buffer) );
Expand Down

0 comments on commit f8efcb0

Please sign in to comment.