Skip to content
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

Fixed a few things #13974

Merged
merged 2 commits into from May 6, 2019
Merged

Fixed a few things #13974

merged 2 commits into from May 6, 2019

Conversation

Vane11ope
Copy link
Contributor

tab number starts off 1 to n

and also fixed a bug with which r2 will crash if you push 0 when selecting nth tab

@@ -4193,10 +4193,16 @@ static RPanels *get_cur_panels(RPanelsRoot *panels_root) {
}

static bool handle_tab(RCore *core) {
char msg[128];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont use static buffers. use r_str_newf or so, but if u want static buffer, make it of the screen width, not a fixed 128 length

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah okay hang on

Copy link
Collaborator

@radare radare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@Vane11ope
Copy link
Contributor Author

done

@radare radare merged commit 1406e2b into radareorg:master May 6, 2019
@Vane11ope Vane11ope deleted the vane11ope/panels_2 branch May 6, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants