summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Scrollbar.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-21 10:30:21 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-21 10:30:52 +0100
commitd60ebbbba6429bf7f3ce58783acd8232d487d4b9 (patch)
treeea37facb5b78f0bd73402bcc2a869c2ee4b9528a /Userland/Libraries/LibGUI/Scrollbar.cpp
parent68f76b9e3750c8f4e5e3ee8c3d346772ce6d3593 (diff)
downloadserenity-d60ebbbba6429bf7f3ce58783acd8232d487d4b9.zip
Revert "Userland: static vs non-static constexpr variables"
This reverts commit 800ea8ea969835297dc7e7da345a45b9dc5e751a. Booting the system no longer worked after these changes.
Diffstat (limited to 'Userland/Libraries/LibGUI/Scrollbar.cpp')
-rw-r--r--Userland/Libraries/LibGUI/Scrollbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGUI/Scrollbar.cpp b/Userland/Libraries/LibGUI/Scrollbar.cpp
index 74703b9470..199443e136 100644
--- a/Userland/Libraries/LibGUI/Scrollbar.cpp
+++ b/Userland/Libraries/LibGUI/Scrollbar.cpp
@@ -15,7 +15,7 @@ REGISTER_WIDGET(GUI, Scrollbar)
namespace GUI {
-static constexpr char s_up_arrow_bitmap_data[] = {
+static const char* s_up_arrow_bitmap_data = {
" "
" # "
" ### "
@@ -27,7 +27,7 @@ static constexpr char s_up_arrow_bitmap_data[] = {
" "
};
-static constexpr char s_down_arrow_bitmap_data[] = {
+static const char* s_down_arrow_bitmap_data = {
" "
" ### "
" ### "
@@ -39,7 +39,7 @@ static constexpr char s_down_arrow_bitmap_data[] = {
" "
};
-static constexpr char s_left_arrow_bitmap_data[] = {
+static const char* s_left_arrow_bitmap_data = {
" "
" # "
" ## "
@@ -51,7 +51,7 @@ static constexpr char s_left_arrow_bitmap_data[] = {
" "
};
-static constexpr char s_right_arrow_bitmap_data[] = {
+static const char* s_right_arrow_bitmap_data = {
" "
" # "
" ## "