]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[script] Return NULL when requesting width of nonexistent window
authorCharlie Brej <cbrej@cs.man.ac.uk>
Mon, 22 Mar 2010 22:41:17 +0000 (22:41 +0000)
committerCharles Brej <cbrej@cs.man.ac.uk>
Mon, 22 Mar 2010 22:41:17 +0000 (22:41 +0000)
commite70dfbe3e07ce932b09a70d549300bba38175a53
tree83e45e73c848e38018d7c310d79df51a03a92c46
parenta0d16a9bbddb19af27d31019f64e3015fcc626fe
[script] Return NULL when requesting width of nonexistent window

Minor bug, previously would return the index used rather than a NULL. Would
only cause problems when using a width request as a test of the presence of a
window.
src/plugins/splash/script/script-lib-sprite.c