Skip to content

Commit 82a8c92

Browse files
authored
Fix errors in code samples
These would not have compiled previously.
1 parent af71e37 commit 82a8c92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/extensibility/internals/command-implementation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public int QueryStatus(ref Guid pguidCmdGroup, uint cCmds, OLECMD[] prgCmds, Int
9898
return VSConstants.S_OK;
9999
}
100100
}
101-
return Constants.OLECMDERR_E_NOTSUPPORTED;
102101
}
102+
return Constants.OLECMDERR_E_NOTSUPPORTED;
103103
}
104104
```
105105

@@ -115,9 +115,9 @@ public int Exec(ref Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pv
115115
{
116116
if (pguidCmdGroup == VSConstants.GUID_VSStandardCommandSet97)
117117
{
118-
if (nCmdID ==(uint) uint)VSConstants.VSStd2KCmdID.RIGHT)
118+
if (nCmdID == (uint)VSConstants.VSStd2KCmdID.RIGHT)
119119
{
120-
//execute the command
120+
// execute the command
121121
return VSConstants.S_OK;
122122
}
123123
}

0 commit comments

Comments
 (0)