diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-12 04:40:26 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-12 04:40:26 +0100 |
commit | 21ad03fd620a545208579a8fe59dc2742de3b7b5 (patch) | |
tree | f02e2e69585cda7f1696ec04eee9253aa3da30dc | |
parent | monitor data (diff) | |
download | blueshift-21ad03fd620a545208579a8fe59dc2742de3b7b5.tar.gz blueshift-21ad03fd620a545208579a8fe59dc2742de3b7b5.tar.bz2 blueshift-21ad03fd620a545208579a8fe59dc2742de3b7b5.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/blueshift_drm_c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c index afd27d9..f045b97 100644 --- a/src/blueshift_drm_c.c +++ b/src/blueshift_drm_c.c @@ -177,9 +177,9 @@ int main(int argc, char** argv) printf("Connected: %i\n", connector->connection == DRM_MODE_CONNECTED); /* DRM_MODE_DISCONNECTED DRM_MODE_UNKNOWNCONNECTION */ printf("Encoder: %i\n", connector->encoder_id); - static char* types[] = {"Unknown", "VGA", "DVII", "DVID", "DVIA", "Composite", "SVIDEO", "LVDS", - "Component", "9PinDIN", "DisplayPort", "HDMIA", "HDMIB", "TV", "eDP", - "VIRTUAL", "DSI"}; + static const char* types[] = {"Unknown", "VGA", "DVII", "DVID", "DVIA", "Composite", "SVIDEO", "LVDS", + "Component", "9PinDIN", "DisplayPort", "HDMIA", "HDMIB", "TV", "eDP", + "VIRTUAL", "DSI"}; printf("Type: %s (%i)\n", types[connector->connector_type], connector->connector_type); int i; for (i = 0; i < connector->count_props; i++) |