mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Change long → int32_t for 68K struct
When building as 64 bit the ‘long’ type is 8 bytes which broke the “jump to selection” part of the ODBEditor protocol support (issue #499).
This commit is contained in:
@@ -22,12 +22,12 @@ bool DidHandleODBEditorEvent (AppleEvent const* event);
|
||||
#pragma pack(2)
|
||||
struct PBX_SelectionRange
|
||||
{
|
||||
short unused1; // 0 (not used)
|
||||
short lineNum; // line to select (<0 to specify range)
|
||||
long startRange; // start of selection range (if line < 0)
|
||||
long endRange; // end of selection range (if line < 0)
|
||||
long unused2; // 0 (not used)
|
||||
long theDate; // modification date/time
|
||||
int16_t unused1; // 0 (not used)
|
||||
int16_t lineNum; // line to select (<0 to specify range)
|
||||
int32_t startRange; // start of selection range (if line < 0)
|
||||
int32_t endRange; // end of selection range (if line < 0)
|
||||
int32_t unused2; // 0 (not used)
|
||||
int32_t theDate; // modification date/time
|
||||
};
|
||||
#pragma options align=reset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user