Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
436fcc68
Commit
436fcc68
authored
Dec 09, 2008
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix historical editing glitch
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=20871 CL=20873
parent
f5cfadde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/fmt/print.go
src/lib/fmt/print.go
+1
-1
No files found.
src/lib/fmt/print.go
View file @
436fcc68
...
...
@@ -552,7 +552,7 @@ func (p *P) doprintf(format string, v reflect.StructValue) {
// pointer
case
'p'
:
if
v
,
ok
:=
getPtr
(
field
);
ok
{
if
v
==
nil
{
if
v
==
0
{
s
=
"<nil>"
}
else
{
s
=
"0x"
+
p
.
fmt
.
uX64
(
uint64
(
v
))
.
str
()
...
...
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