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

BrushStoreWindow: code cleanup, no functional changes #601

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

dsizzle
Copy link
Collaborator

@dsizzle dsizzle commented Aug 30, 2023

only code style changes

Copy link
Member

@humdingerb humdingerb left a comment

Choose a reason for hiding this comment

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

:P

{
BrushStoreWindow *this_pointer = (BrushStoreWindow*)data;

if (this_pointer != NULL) {
BList temp_list(*brush_data);
if (temp_list.CountItems()> 0) {
if (temp_list.CountItems() > 0) {
Brush *a_brush = new Brush(*(brush_info*)(temp_list.ItemAt(0)));
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Brush *a_brush = new Brush(*(brush_info*)(temp_list.ItemAt(0)));
Brush* a_brush = new Brush(*(brush_info*)(temp_list.ItemAt(0)));

@dsizzle
Copy link
Collaborator Author

dsizzle commented Aug 30, 2023

updated with the above suggestion.

@humdingerb
Copy link
Member

Merge whenever you're ready. :)

@dsizzle dsizzle merged commit df6934a into HaikuArchives:master Aug 30, 2023
0 of 2 checks passed
@dsizzle dsizzle deleted the brushstore-refac branch August 30, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants