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/qgis@4986 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 9, 2006
1 parent 131a4ba commit b97a8d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plugins/grass/qgsgrassmodel.cpp
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 b97a8d0

Please sign in to comment.