| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a9d9ff6 commit 0653d86
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -580,8 +580,7 @@ int msGetVersionInt() | |||
| 580 | 580 | } | |
| 581 | 581 | else | |
| 582 | 582 | { | |
| 583 | - version = atoi(tokens[0])*0x10000 + atoi(tokens[1])*0x100 + | ||
| 584 | - atoi(tokens[2]); | ||
| 583 | + version = atoi(tokens[0])*10000 + atoi(tokens[1])*100 + atoi(tokens[2]); | ||
| 585 | 584 | } | |
| 586 | 585 | if (tokens) | |
| 587 | 586 | msFreeCharArray(tokens, n); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -508,8 +508,7 @@ msGetVersion() : string | |||
| 508 | 508 | ||
| 509 | 509 | msGetVersionInt() : int | |
| 510 | 510 | Returns the MapServer version number (x.y.z) as an integer | |
| 511 | - (x*0x10000 + y*0x100 + z). (New in v5.0) | ||
| 512 | - e.g. V5.4.3 would return 0x050403 (note the hexadecimal notation). | ||
| 511 | + (x*10000 + y*100 + z). (New in v5.0) e.g. V5.4.3 would return 50403. | ||
| 513 | 512 | ||
| 514 | 513 | msIO_installStdoutToBuffer() : void | |
| 515 | 514 | Installs a mapserver IO handler directing future stdout output to a memory | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -124,8 +124,7 @@ Currently supported classes, properties and methods: | |||
| 124 | 124 | ||
| 125 | 125 | int ms_GetVersionInt() | |
| 126 | 126 | Returns the MapServer version number (x.y.z) as an integer | |
| 127 | - (x*0x10000 + y*0x100 + z). (New in v5.0) | ||
| 128 | - e.g. V5.4.3 would return 0x050403 (note the hexadecimal notation). | ||
| 127 | + (x*10000 + y*100 + z). (New in v5.0) e.g. V5.4.3 would return 50403. | ||
| 129 | 128 | ||
| 130 | 129 | array ms_TokenizeMap(string map_file_name) | |
| 131 | 130 | Preparses a mapfile through the MapServer parser and return an | |
| Back | FazBrowse Home | New Git URL |
0 commit comments