 |
Changeset 3692
- Timestamp:
- 07/01/08 02:06:50
(2 months ago)
- Author:
- kris
- Message:
fixed wild and crazy effect of static strings with trailing \0
Thanks to Jeff for that one :)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3682 |
r3692 |
|
| 478 | 478 | |
|---|
| 479 | 479 | // is the prefix already attached to the name? |
|---|
| 480 | | if (prefix.ptr + prefix.length + 1 is localName.ptr) |
|---|
| | 480 | if (prefix.ptr + prefix.length + 1 is localName.ptr && |
|---|
| | 481 | ':' is *(localName.ptr-1)) |
|---|
| 481 | 482 | return prefix.ptr [0 .. len]; |
|---|
| 482 | 483 | |
|---|
Download in other formats:
|
 |
 |
|
 |
Copyright © 2006-2008 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic