Commit 30d27bfb0a3a3ac78e479467ca249ebbc2e65f1e
1 parent
680d61ee
removed tabs
Showing
1 changed file
with
3 additions
and
3 deletions
pyext/GSkyDir.i
| @@ -57,10 +57,10 @@ public: | @@ -57,10 +57,10 @@ public: | ||
| 57 | static char str_buffer[1001]; | 57 | static char str_buffer[1001]; |
| 58 | std::ostringstream buffer; | 58 | std::ostringstream buffer; |
| 59 | buffer << *self; | 59 | buffer << *self; |
| 60 | - std::string str = buffer.str(); | 60 | + std::string str = buffer.str(); |
| 61 | strncpy(str_buffer, (char*)str.c_str(), 1001); | 61 | strncpy(str_buffer, (char*)str.c_str(), 1001); |
| 62 | - str_buffer[1000] = '\0'; | ||
| 63 | - return str_buffer; | 62 | + str_buffer[1000] = '\0'; |
| 63 | + return str_buffer; | ||
| 64 | } | 64 | } |
| 65 | GSkyDir copy() { | 65 | GSkyDir copy() { |
| 66 | return (*self); | 66 | return (*self); |