Skip to content

Commit 29edde0

Browse files
committed
Misc: Reformat
1 parent 886d074 commit 29edde0

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

client/src/network_helper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data)
5151
}
5252
}
5353

54-
5554
inline const char *controller_description(int index)
5655
{
5756

deps/common/input_data.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ struct input_data {
6767
void copy(const input_data *other, bool with_gamepad_data = false);
6868

6969
void dispatch_uiohook_event(const uiohook_event *event);
70-
7170
};
7271

7372
namespace local_data {

src/sources/input_source.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ obs_properties_t *get_properties_for_overlay(void *data)
226226
qt_to_utf8(filter_img), qt_to_utf8(img_path));
227227
auto *cfg = obs_properties_add_path(props, S_LAYOUT_FILE, T_LAYOUT_FILE, OBS_PATH_FILE, qt_to_utf8(filter_text),
228228
qt_to_utf8(layout_path));
229-
auto *prop_alpha = obs_properties_add_bool(props, S_LINEAR_ALPHA,
230-
T_LINEAR_ALPHA);
229+
auto *prop_alpha = obs_properties_add_bool(props, S_LINEAR_ALPHA, T_LINEAR_ALPHA);
231230

232231
obs_property_set_modified_callback2(cfg, file_changed, data);
233232
obs_property_set_modified_callback2(texture, file_changed, data);

src/sources/input_source.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ class overlay_settings {
3838
std::string image_file;
3939
std::string layout_file;
4040

41-
input_data data{}; /* Copy of input data used for visualization */
42-
uint32_t cx = 0, cy = 0; /* Source width/height */
43-
bool use_center = false; /* true if monitor center is used for mouse movement */
41+
input_data data{}; /* Copy of input data used for visualization */
42+
uint32_t cx = 0, cy = 0; /* Source width/height */
43+
bool use_center = false; /* true if monitor center is used for mouse movement */
4444
bool linear_alpha;
4545
uint32_t monitor_w = 0, monitor_h = 0; /* Monitor size used for mouse movement */
4646
uint8_t mouse_deadzone = 0; /* Region in which to ignore mouse movements */

0 commit comments

Comments
 (0)