Skip to content

Commit

Permalink
Fix problem with a literal array being modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Oct 24, 2020
1 parent 661862e commit dba93a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Class {
'currentsArray',
'maxHeader'
],
#category : 'Pillar-ExporterEPub'
#category : #'Pillar-ExporterEPub'
}

{ #category : #accessing }
Expand All @@ -33,7 +33,7 @@ PREPubMenuJustHeaderTransformer >> actionOn: anInput [

{ #category : #private }
PREPubMenuJustHeaderTransformer >> initCurrentsArray [
currentsArray := #(nil nil nil nil nil nil nil)
currentsArray := #(nil nil nil nil nil nil nil) copy.
]

{ #category : #private }
Expand Down

0 comments on commit dba93a5

Please sign in to comment.