Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ocarina
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TASTE
ocarina
Commits
3394f792
PL1
Commit
3394f792
authored
10 years ago
by
yoogx
Browse files
Options
Downloads
Patches
Plain Diff
* Defend against small strings
parent
b0c9cdca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/tree/ocarina-property_sets.adb
+1
-1
1 addition, 1 deletion
src/core/tree/ocarina-property_sets.adb
with
1 addition
and
1 deletion
src/core/tree/ocarina-property_sets.adb
+
1
−
1
View file @
3394f792
...
...
@@ -151,7 +151,7 @@ package body Ocarina.Property_Sets is
Tag
:
constant
String
:=
"%property_set%"
;
begin
if
S
(
S
'
First
+
1
)
=
'_'
then
if
S
'
Length
>
2
and
then
S
(
S
'
First
+
1
)
=
'_'
then
Set_Str_To_Name_Buffer
(
S
(
S
'
First
+
2
..
S
'
Last
));
else
Set_Str_To_Name_Buffer
(
S
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment