Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Annotation-System
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Annotation-Pushers
Annotation-System
Commits
525590fa
Commit
525590fa
authored
May 13, 2018
by
Matt Mascarenhas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cinera.c: Prevent crash when no ProjectInfo->Unit
parent
d420513e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cinera/cinera.c
cinera/cinera.c
+2
-2
No files found.
cinera/cinera.c
View file @
525590fa
...
...
@@ -16,7 +16,7 @@ typedef struct
version
CINERA_APP_VERSION
=
{
.
Major
=
0
,
.
Minor
=
5
,
.
Patch
=
4
8
.
Patch
=
4
9
};
// TODO(matt): Copy in the DB 3 stuff from cinera_working.c
...
...
@@ -5503,7 +5503,7 @@ IndexToBuffer(index *Index, buffers *CollationBuffers) // NOTE(matt): This guy m
}
char
Number
[
16
];
index_metadata
*
This
;
char
Text
[
StringLength
(
ProjectUnit
)
+
sizeof
(
Number
)
+
sizeof
(
This
->
Title
)
+
3
];
char
Text
[
ProjectUnit
?
StringLength
(
ProjectUnit
)
:
0
+
sizeof
(
Number
)
+
sizeof
(
This
->
Title
)
+
3
];
int
EntryLength
=
StringLength
(
PlayerURL
.
Location
)
+
sizeof
(
Text
)
+
82
;
CollationBuffers
->
Index
.
Size
=
StringLength
(
queryContainer
)
+
(
Index
->
Header
.
EntryCount
*
EntryLength
)
+
StringLength
(
Script
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment