Skip to content

Sample code has redundant '}' #1565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/extensibility/changing-the-appearance-of-a-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can provide feedback to your user by changing the appearance of a command. F
{
var command = sender as OleMenuCommand;
if (command.Text == "New Text")
ChangeMyCommand(command.CommandID.ID, false);}
ChangeMyCommand(command.CommandID.ID, false);
}
```

Expand All @@ -71,7 +71,7 @@ You can provide feedback to your user by changing the appearance of a command. F
mc.Enabled = enableCmd;
cmdUpdated = true;
}
return cmdUpdated; }
return cmdUpdated;
}
```

Expand All @@ -85,4 +85,4 @@ You can provide feedback to your user by changing the appearance of a command. F
[Commands, menus, and toolbars](../extensibility/internals/commands-menus-and-toolbars.md)
[How VSPackages add user interface elements](../extensibility/internals/how-vspackages-add-user-interface-elements.md)
[Extending menus and commands](../extensibility/extending-menus-and-commands.md)
[Visual Studio command table (.Vsct) Files](../extensibility/internals/visual-studio-command-table-dot-vsct-files.md)
[Visual Studio command table (.Vsct) Files](../extensibility/internals/visual-studio-command-table-dot-vsct-files.md)