Browse Source

Gmt module: Fix error in conversion function from string to gmt_dash.

gmtdatadir
Michael Uleysky 8 years ago
parent
commit
591bc837eb
  1. 4
      modules/gmt/modgmt_structs.h

4
modules/gmt/modgmt_structs.h

@ -720,8 +720,8 @@ struct gmt_dash: public gmt_struct
// Determine shift
{
WordList wl=Split(in,":");
if(wl.size()>1) return false;
if(1==wl.size())
if(wl.size()>2) {err="Incorrect dash format"; return false;}
if(2==wl.size())
{
Value2Width s(wl.back());
bool suc=true;

Loading…
Cancel
Save