Skip to content

Commit

Permalink
fix: category instance method header formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Dec 15, 2023
1 parent d7e22bc commit 65cc968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/objc/category.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ func (c *Category) dump(verbose, addrs bool) string {
if len(c.InstanceMethods) > 0 {
var s *bytes.Buffer
if len(c.ClassMethods) > 0 {
s = bytes.NewBufferString("\n/* instance methods */\n\n")
s = bytes.NewBufferString("\n/* instance methods */\n")
} else {
s = bytes.NewBufferString("/* instance methods */\n\n")
s = bytes.NewBufferString("/* instance methods */\n")
}
for _, meth := range c.InstanceMethods {
if !addrs && strings.HasPrefix(meth.Name, ".cxx_") {
Expand Down

0 comments on commit 65cc968

Please sign in to comment.