Fix indentation all through the project
Fixes a “regression” from 04918f3b0b, but
also other missed pieces.
This commit is contained in:
committed by
Link Mauve
parent
48cd15ed44
commit
eff793ab46
@@ -1460,7 +1460,7 @@ panel_add_launchers(struct panel *panel, struct desktop *desktop)
|
||||
}
|
||||
|
||||
if (count == 0) {
|
||||
char *name = file_name_with_datadir("terminal.png");
|
||||
char *name = file_name_with_datadir("terminal.png");
|
||||
|
||||
/* add default launcher */
|
||||
panel_add_launcher(panel,
|
||||
|
||||
+3
-3
@@ -416,9 +416,9 @@ data_source_dnd_finished(void *data, struct wl_data_source *source)
|
||||
delete_item =
|
||||
dnd_drag->dnd_action == WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE;
|
||||
|
||||
/* The operation is already finished, we can destroy all
|
||||
* related data.
|
||||
*/
|
||||
/* The operation is already finished, we can destroy all
|
||||
* related data.
|
||||
*/
|
||||
dnd_drag_destroy(dnd_drag, delete_item);
|
||||
window_schedule_redraw(dnd->window);
|
||||
}
|
||||
|
||||
+3
-3
@@ -1124,9 +1124,9 @@ redraw_handler(struct widget *widget, void *data)
|
||||
cairo_stroke(cr);
|
||||
}
|
||||
|
||||
/* skip space glyph (RLE) we use as a placeholder of
|
||||
the right half of a double-width character,
|
||||
because RLE is not available in every font. */
|
||||
/* skip space glyph (RLE) we use as a placeholder of
|
||||
the right half of a double-width character,
|
||||
because RLE is not available in every font. */
|
||||
if (p_row[col].ch == 0x200B)
|
||||
continue;
|
||||
|
||||
|
||||
+3
-3
@@ -2214,9 +2214,9 @@ widget_set_tooltip(struct widget *parent, char *entry, float x, float y)
|
||||
if (parent->tooltip_count > 1)
|
||||
return 0;
|
||||
|
||||
tooltip = malloc(sizeof *tooltip);
|
||||
if (!tooltip)
|
||||
return -1;
|
||||
tooltip = malloc(sizeof *tooltip);
|
||||
if (!tooltip)
|
||||
return -1;
|
||||
|
||||
parent->tooltip = tooltip;
|
||||
tooltip->parent = parent;
|
||||
|
||||
Reference in New Issue
Block a user